kopia lustrzana https://github.com/wagtail/bakerydemo
25 wiersze
503 B
Plaintext
25 wiersze
503 B
Plaintext
{
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": 9
|
|
},
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"rules": {
|
|
// allow no lines between single line members (e.g. static declarations)
|
|
"lines-between-class-members": [
|
|
"error",
|
|
"always",
|
|
{
|
|
"exceptAfterSingleLine": true
|
|
}
|
|
],
|
|
// note you must disable the base rule as it can report incorrect errors
|
|
"no-use-before-define": "off",
|
|
"no-underscore-dangle": "error"
|
|
}
|
|
}
|