31 lines
587 B
JavaScript
31 lines
587 B
JavaScript
module.exports = {
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": "standard-with-typescript",
|
|
"overrides": [
|
|
{
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"files": [
|
|
".eslintrc.{js,cjs}"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "script"
|
|
}
|
|
}
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"files": [
|
|
"./**/*"
|
|
],
|
|
"rules": {
|
|
"indent": ["error", 4]
|
|
}
|
|
}
|