ESlint lines-around-directive

v1.18.x
Peter Jaszkowiak 8 years ago
parent f3a8256f35
commit 41896e1fc7

@ -20,6 +20,7 @@
"no-console": "off", "no-console": "off",
"no-mixed-operators": ["error", { "allowSamePrecedence": true }], "no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"strict": ["error", "global"], "strict": ["error", "global"],
"consistent-return": "off",
// ES6 // ES6
"prefer-rest-params": "off", "prefer-rest-params": "off",
@ -33,11 +34,17 @@
"import/newline-after-import": "off", "import/newline-after-import": "off",
"no-bitwise": "off", "no-bitwise": "off",
"global-require": "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", // "linebreak-style": "off",
// "one-var": "off", // "one-var": "off",
// "no-undef": "off", // "no-undef": "off",
"max-len": "off",
"no-new": "off", "no-new": "off",
"max-nested-callbacks": "off", "max-nested-callbacks": "off",
"no-mixed-requires": "off", "no-mixed-requires": "off",
@ -92,14 +99,7 @@
"prefer-template": "off", "prefer-template": "off",
"padded-blocks": "off", "padded-blocks": "off",
"eol-last": "off", "eol-last": "off",
"lines-around-directive": "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",
// "strict": "off", // "strict": "off",
// "comma-dangle": "off", // "comma-dangle": "off",
// "no-multi-spaces": "off", // "no-multi-spaces": "off",

@ -1,4 +1,5 @@
'use strict'; 'use strict';
define('components', function () { define('components', function () {
var components = {}; var components = {};

@ -1,6 +1,5 @@
'use strict'; 'use strict';
var winston = require('winston'); var winston = require('winston');
var ratelimit = module.exports; var ratelimit = module.exports;

@ -1,4 +1,5 @@
'use strict'; 'use strict';
var async = require('async'); var async = require('async');
var validator = require('validator'); var validator = require('validator');

Loading…
Cancel
Save