web-extension-starter/.eslintrc.json
Thanesh Rajandran e4a39685cb
Add webextension environment to eslint
This stops eslint from complaining when you use, for example `chrome.runtime.sendMessage`
2020-06-05 15:16:46 -04:00

16 lines
305 B
JSON

{
"extends": [
"@abhijithvijayan/eslint-config/typescript",
"@abhijithvijayan/eslint-config/react"
],
"rules": {
"no-console": "off",
"no-extend-native": "off",
"react/jsx-props-no-spreading": "off",
"jsx-a11y/label-has-associated-control": "off"
},
"env": {
"webextensions": true
}
}