54 lines
1 KiB
JSON
54 lines
1 KiB
JSON
{
|
|
"env": {
|
|
"browser": false,
|
|
"commonjs": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"overrides": [
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest"
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"quote-props": [
|
|
"error",
|
|
"consistent-as-needed"
|
|
],
|
|
"padded-blocks": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"one-var": [
|
|
"error",
|
|
"never"
|
|
],
|
|
"function-call-argument-newline": [
|
|
"error",
|
|
"consistent"
|
|
]
|
|
}
|
|
}
|