Node.js based forum software built for the modern web
ESlint lines-around-directive
Peter Jaszkowiak41896e1fc75a
diff --git a/.eslintrc b/.eslintrcindex 62762f2426..a2008ce6cd 100644--- a/.eslintrc+++ b/.eslintrc@@ -20,6 +20,7 @@"no-console": "off","no-mixed-operators": ["error", { "allowSamePrecedence": true }],"strict": ["error", "global"],+ "consistent-return": "off",// ES6"prefer-rest-params": "off",@@ -33,11 +34,17 @@"import/newline-after-import": "off","no-bitwise": "off","global-require": "off",+ "no-multi-assign": "off",+ "max-len": "off",+ "no-param-reassign": "off",+ "object-shorthand": "off",+ "no-prototype-builtins": "off",+ "vars-on-top": "off",+ "no-restricted-syntax": "off",// "linebreak-style": "off",// "one-var": "off",// "no-undef": "off",- "max-len": "off","no-new": "off","max-nested-callbacks": "off","no-mixed-requires": "off",@@ -92,14 +99,7 @@"prefer-template": "off","padded-blocks": "off","eol-last": "off",- "lines-around-directive": "off",- "no-restricted-syntax": "off",- "vars-on-top": "off",- "no-prototype-builtins": "off",- "object-shorthand": "off",- "no-param-reassign": "off",- "consistent-return": "off",- "no-multi-assign": "off",+ // "lines-around-directive": "off",// "strict": "off",// "comma-dangle": "off",// "no-multi-spaces": "off",diff --git a/public/src/modules/components.js b/public/src/modules/components.jsindex 14bf2791b3..9ddec2b7a9 100644--- a/public/src/modules/components.js+++ b/public/src/modules/components.js@@ -1,4 +1,5 @@'use strict';+define('components', function () {var components = {};diff --git a/src/middleware/ratelimit.js b/src/middleware/ratelimit.jsindex 878deb2727..504cb0acd7 100644--- a/src/middleware/ratelimit.js+++ b/src/middleware/ratelimit.js@@ -1,6 +1,5 @@--'use strict';+var winston = require('winston');var ratelimit = module.exports;diff --git a/src/socket.io/modules.js b/src/socket.io/modules.jsindex a3571c5906..64f8fd0a5a 100644--- a/src/socket.io/modules.js+++ b/src/socket.io/modules.js@@ -1,4 +1,5 @@'use strict';+var async = require('async');var validator = require('validator');