Add no-restricted-globals rule (#117)

This commit is contained in:
William O'Beirne 2017-08-15 05:29:40 -04:00 committed by Daniel Ternyak
parent 41ab0639e7
commit 6ae97b3121
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@
"no-unreachable": 1,
"no-alert": 0,
"react/jsx-uses-react": 1,
"no-unused-vars": [1, { "argsIgnorePattern": "^_" }]
"no-unused-vars": [1, { "argsIgnorePattern": "^_" }],
"no-restricted-globals": ["error", "event"]
},
"globals": {
"SyntheticInputEvent": false,