mirror of
https://github.com/abhijithvijayan/web-extension-starter.git
synced 2025-10-07 07:22:37 +02:00
34 lines
763 B
JSON
34 lines
763 B
JSON
{
|
|
"extends": [
|
|
"@abhijithvijayan/eslint-config/typescript",
|
|
"@abhijithvijayan/eslint-config/node",
|
|
"@abhijithvijayan/eslint-config/react"
|
|
],
|
|
"parserOptions": {
|
|
"project": [
|
|
"./tsconfig.json"
|
|
],
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"no-extend-native": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"jsx-a11y/label-has-associated-control": "off",
|
|
"class-methods-use-this": "off",
|
|
"max-classes-per-file": "off",
|
|
"node/no-missing-import": "off",
|
|
"node/no-unpublished-import": "off",
|
|
"node/no-unsupported-features/es-syntax": ["error", {
|
|
"ignores": ["modules"]
|
|
}]
|
|
},
|
|
"env": {
|
|
"webextensions": true
|
|
},
|
|
"settings": {
|
|
"node": {
|
|
"tryExtensions": [".tsx"] // append tsx to the list as well
|
|
}
|
|
}
|
|
} |