ESlint lines-around-directive

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

@ -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",

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

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

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

Loading…
Cancel
Save