Extend ESLint recommended configuration
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
3b50a194e7
commit
771cdde8df
@ -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"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user