ESlint indent

v1.18.x
Peter Jaszkowiak 8 years ago
parent 3b0dd2d1ef
commit 1493afee2a

@ -21,11 +21,16 @@
"no-mixed-operators": ["error", { "allowSamePrecedence": true }], "no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"strict": ["error", "global"], "strict": ["error", "global"],
"consistent-return": "off", "consistent-return": "off",
"func-names": "off",
"no-tabs": "off",
"indent": ["error", "tab"],
// ES6 // ES6
"prefer-rest-params": "off", "prefer-rest-params": "off",
"prefer-spread": "off", "prefer-spread": "off",
"prefer-arrow-callback": "off", "prefer-arrow-callback": "off",
"prefer-template": "off",
"no-var": "off",
// TODO // TODO
"import/no-unresolved": "off", "import/no-unresolved": "off",
@ -90,13 +95,9 @@
"no-restricted-module": "off", "no-restricted-module": "off",
"no-return-assign": "off", "no-return-assign": "off",
"no-restricted-modules": "off", "no-restricted-modules": "off",
"no-tabs": "off",
"indent": "off",
"func-names": "off",
"object-curly-spacing": "off", "object-curly-spacing": "off",
"no-var": "off",
"no-shadow": "off", "no-shadow": "off",
"prefer-template": "off", // "indent": "off",
// "padded-blocks": "off", // "padded-blocks": "off",
// "eol-last": "off", // "eol-last": "off",
// "lines-around-directive": "off", // "lines-around-directive": "off",

@ -7,7 +7,7 @@ var db = require('../database');
var Blacklist = { var Blacklist = {
_rules: [], _rules: [],
}; };
Blacklist.load = function (callback) { Blacklist.load = function (callback) {
async.waterfall([ async.waterfall([

Loading…
Cancel
Save