1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

Code formatting with prettier, change eslint config for the server

This commit is contained in:
Maksim Eltyshev 2019-11-05 18:01:42 +05:00
parent bc87c1d883
commit 7a3805e64c
191 changed files with 4321 additions and 2880 deletions

View file

@ -10,23 +10,22 @@
*/
module.exports.http = {
/****************************************************************************
* *
* Sails/Express middleware to run for every HTTP request. *
* (Only applies to HTTP requests -- not virtual WebSocket requests.) *
* *
* https://sailsjs.com/documentation/concepts/middleware *
* *
****************************************************************************/
/**
*
* Sails/Express middleware to run for every HTTP request.
* (Only applies to HTTP requests -- not virtual WebSocket requests.)
*
* https://sailsjs.com/documentation/concepts/middleware
*
*/
middleware: {
/***************************************************************************
* *
* The order in which middleware should be run for HTTP requests. *
* (This Sails app's routes are handled by the "router" middleware below.) *
* *
***************************************************************************/
/**
*
* The order in which middleware should be run for HTTP requests.
* (This Sails app's routes are handled by the "router" middleware below.)
*
*/
// order: [
// 'cookieParser',
// 'session',
@ -37,15 +36,13 @@ module.exports.http = {
// 'www',
// 'favicon',
// ],
/***************************************************************************
* *
* The body parser that will handle incoming multipart HTTP requests. *
* *
* https://sailsjs.com/config/http#?customizing-the-body-parser *
* *
***************************************************************************/
/**
*
* The body parser that will handle incoming multipart HTTP requests.
*
* https://sailsjs.com/config/http#?customizing-the-body-parser
*
*/
// bodyParser: (function _configureBodyParser(){
// var skipper = require('skipper');
// var middlewareFn = skipper({ strict: true });