Extend ESLint recommended configuration

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2019-06-06 22:52:06 -03:00
parent 3b50a194e7
commit 771cdde8df

View File

@ -1,4 +1,5 @@
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"jquery": true
@ -28,21 +29,20 @@
"keyword-spacing": "error",
"new-cap": "error",
"no-array-constructor": "error",
"no-console": "warn",
"no-empty": "warn",
"no-eval": "error",
"no-fallthrough": "warn",
"no-global-assign": "warn",
"no-loop-func": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-param-reassign": "error",
"no-redeclare": "warn",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-underscore-dangle": "error",
"no-unneeded-ternary": "error",
"no-unreachable": "error",
"no-unsafe-negation": "error",
"no-unused-vars": "error",
"no-useless-escape": "error",
"object-curly-spacing": ["error", "always"],
"one-var": ["error", "never"],
"padded-blocks": ["error", "never"],