25 lines
488 B
JSON
25 lines
488 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 11
|
|
},
|
|
"rules": {
|
|
"indent": ["error", 2],
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "never"],
|
|
"array-element-newline": [
|
|
"error",
|
|
{
|
|
"ArrayExpression": "consistent",
|
|
"ArrayPattern": { "minItems": 3 }
|
|
}
|
|
]
|
|
}
|
|
}
|