2018-07-22 10:31:15 -07:00
|
|
|
{
|
|
|
|
"env": {
|
2020-01-17 01:42:16 -08:00
|
|
|
"es2017": true,
|
2018-07-22 10:31:15 -07:00
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"parserOptions": {
|
2022-11-26 15:54:09 -08:00
|
|
|
"ecmaVersion": 2021,
|
2018-07-22 10:31:15 -07:00
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
4,
|
|
|
|
{
|
|
|
|
"SwitchCase": 1
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"windows"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"never"
|
|
|
|
],
|
|
|
|
"no-var": [
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"no-console": [
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"no-control-regex": [
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"no-unused-vars": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"vars": "all",
|
|
|
|
"args": "none",
|
|
|
|
"ignoreRestSiblings": false,
|
|
|
|
"argsIgnorePattern": "reject"
|
|
|
|
}
|
2019-07-11 17:51:58 -07:00
|
|
|
],
|
|
|
|
"no-async-promise-executor": [
|
|
|
|
0
|
2018-07-22 10:31:15 -07:00
|
|
|
]
|
2018-12-01 05:20:42 -08:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [ "app/assets/js/scripts/*.js" ],
|
|
|
|
"rules": {
|
|
|
|
"no-unused-vars": [
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"no-undef": [
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2018-07-22 10:31:15 -07:00
|
|
|
}
|