mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
Add webextension environment to eslint
This stops eslint from complaining when you use, for example `chrome.runtime.sendMessage`
This commit is contained in:
parent
6035883c22
commit
e4a39685cb
@ -8,5 +8,8 @@
|
||||
"no-extend-native": "off",
|
||||
"react/jsx-props-no-spreading": "off",
|
||||
"jsx-a11y/label-has-associated-control": "off"
|
||||
},
|
||||
"env": {
|
||||
"webextensions": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user