ping-centre/.eslintrc.json

55 строки
1.5 KiB
JSON

{
"env": {
"browser": true,
"es6": true,
"mocha": true,
"node": true
},
"extends": [
"eslint:recommended"
],
"rules": {
"array-bracket-spacing": ["error", "never"],
"camelcase": "off",
"comma-dangle": "off",
"comma-spacing": "error",
"computed-property-spacing": ["error", "never"],
"default-case": "off",
"eqeqeq": "error",
"func-names": "off",
"func-style": "off",
"generator-star-spacing": ["error", {"before": false, "after": false}],
"global-require": "off",
"id-blacklist": "off",
"id-length": "off",
"id-match": "off",
"init-declarations": "off",
"max-len": "off",
"max-params": "off",
"newline-after-var": "off",
"no-bitwise": "off",
"no-console":"off",
"no-empty-function": "off",
"no-inline-comments": "off",
"no-invalid-this": "off",
"no-magic-numbers": "off",
"no-negated-condition": "off",
"no-shadow": "warn",
"no-trailing-spaces": ["error", {"skipBlankLines": false}],
"no-undef": "error",
"no-underscore-dangle": "off",
"no-unused-vars": ["error", {"vars": "all", "args": "none"}],
"no-var": "error",
"no-warning-comments": "warn",
"object-curly-spacing": ["error", "never"],
"prefer-const": "warn",
"prefer-reflect": "off",
"quotes": ["error", "double", "avoid-escape"],
"semi": ["error", "always"],
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never"}],
"space-infix-ops": "error",
"space-unary-ops": "error",
"strict": "error"
}
}