mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
fix: eslint config
This commit is contained in:
parent
1217c2d142
commit
5f9cf77500
@ -1,13 +1,25 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"@abhijithvijayan/eslint-config",
|
"@abhijithvijayan/eslint-config",
|
||||||
|
"@abhijithvijayan/eslint-config/node",
|
||||||
"@abhijithvijayan/eslint-config/react"
|
"@abhijithvijayan/eslint-config/react"
|
||||||
],
|
],
|
||||||
|
"parserOptions": {
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-console": "off",
|
"no-console": "off",
|
||||||
"no-extend-native": "off",
|
"no-extend-native": "off",
|
||||||
"react/jsx-props-no-spreading": "off",
|
"react/jsx-props-no-spreading": "off",
|
||||||
"jsx-a11y/label-has-associated-control": "off"
|
"jsx-a11y/label-has-associated-control": "off",
|
||||||
|
"class-methods-use-this": "off",
|
||||||
|
"max-classes-per-file": "off",
|
||||||
|
"node/no-unpublished-require": "off",
|
||||||
|
"node/no-missing-import": "off",
|
||||||
|
"node/no-unpublished-import": "off",
|
||||||
|
"node/no-unsupported-features/es-syntax": ["error", {
|
||||||
|
"ignores": ["modules"]
|
||||||
|
}]
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"webextensions": true
|
"webextensions": true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user