Add webextension environment to eslint

This stops eslint from complaining when you use, for example `chrome.runtime.sendMessage`
This commit is contained in:
Thanesh Rajandran 2020-06-05 15:16:46 -04:00 committed by GitHub
parent 6035883c22
commit e4a39685cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,8 @@
"no-extend-native": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": "off"
},
"env": {
"webextensions": true
}
}
}