mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-25 06:00:13 -05:00
bump eslint ecmaVersion to 2020
this is supported from node v14
This commit is contained in:
+23
-23
@@ -1,25 +1,25 @@
|
|||||||
{
|
{
|
||||||
"extends": ["eslint:recommended", "eslint-config-prettier"],
|
"extends": ["eslint:recommended", "eslint-config-prettier"],
|
||||||
"env": {
|
"env": {
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 10
|
"ecmaVersion": 2020
|
||||||
},
|
},
|
||||||
"plugins": ["prettier"],
|
"plugins": ["prettier"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-constant-condition": "off",
|
"no-constant-condition": "off",
|
||||||
"no-dupe-else-if": "off",
|
"no-dupe-else-if": "off",
|
||||||
"indent": "off",
|
"indent": "off",
|
||||||
"no-empty": "warn",
|
"no-empty": "warn",
|
||||||
"no-inner-declarations": "warn",
|
"no-inner-declarations": "warn",
|
||||||
"no-unreachable": "warn",
|
"no-unreachable": "warn",
|
||||||
"no-undef": "warn",
|
"no-undef": "warn",
|
||||||
"no-unused-vars": "warn",
|
"no-unused-vars": "warn",
|
||||||
"no-redeclare": "warn",
|
"no-redeclare": "warn",
|
||||||
"curly": "error",
|
"curly": "error",
|
||||||
"prettier/prettier": "error",
|
"prettier/prettier": "error",
|
||||||
"one-var": ["error", "never"],
|
"one-var": ["error", "never"],
|
||||||
"no-sequences": "error"
|
"no-sequences": "error"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user