30 lines
541 B
JavaScript
30 lines
541 B
JavaScript
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": 12
|
|
},
|
|
"rules": {
|
|
"indent": [
|
|
"error",
|
|
4
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
]
|
|
}
|
|
};
|