lint - rules - disallow 'event' global
This commit is contained in:
parent
b7b95f269d
commit
3f6554b637
|
@ -41,6 +41,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"no-restricted-globals": ["error", "event"],
|
||||||
"accessor-pairs": 2,
|
"accessor-pairs": 2,
|
||||||
"arrow-spacing": [2, { "before": true, "after": true }],
|
"arrow-spacing": [2, { "before": true, "after": true }],
|
||||||
"block-spacing": [2, "always"],
|
"block-spacing": [2, "always"],
|
||||||
|
|
Loading…
Reference in New Issue