2022-07-26 05:10:01 +00:00
|
|
|
{
|
2023-12-16 00:09:16 +00:00
|
|
|
"extends": ["eslint:recommended"],
|
2022-07-26 05:10:01 +00:00
|
|
|
"parserOptions": {
|
2023-12-16 00:09:16 +00:00
|
|
|
"ecmaVersion": 2020
|
2022-07-26 05:10:01 +00:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
// allow no lines between single line members (e.g. static declarations)
|
|
|
|
"lines-between-class-members": [
|
|
|
|
"error",
|
|
|
|
"always",
|
2023-12-16 00:09:16 +00:00
|
|
|
{ "exceptAfterSingleLine": true }
|
2022-07-26 05:10:01 +00:00
|
|
|
],
|
|
|
|
// note you must disable the base rule as it can report incorrect errors
|
|
|
|
"no-use-before-define": "off",
|
|
|
|
"no-underscore-dangle": "error"
|
|
|
|
}
|
|
|
|
}
|