mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Hygiene: use consistent ESLint severity syntax
Bug: T165036 Change-Id: I43a500fceb8179d30240dbec8ed56f8d4c7551e9
This commit is contained in:
parent
2221055bc1
commit
e284163014
|
@ -18,13 +18,13 @@
|
|||
"ReduxThunk": false
|
||||
},
|
||||
"rules": {
|
||||
"dot-notation": [ "error", { "allowKeywords": true } ],
|
||||
"dot-notation": [ 2, { "allowKeywords": true } ],
|
||||
"no-use-before-define": 0,
|
||||
"no-var": 2,
|
||||
"prefer-const": 1,
|
||||
"one-var": 0, // Interferes with prefer-const.
|
||||
"max-len": [
|
||||
"warn",
|
||||
1,
|
||||
{
|
||||
"tabWidth": 2,
|
||||
// Exclude by default:
|
||||
|
|
Loading…
Reference in a new issue