mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-10 01:01:55 +01:00
34 lines
804 B
JSON
34 lines
804 B
JSON
|
{
|
||
|
"env": {
|
||
|
"browser": true,
|
||
|
"es2021": true,
|
||
|
"node": true,
|
||
|
"jest": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:react/recommended",
|
||
|
"plugin:@typescript-eslint/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaFeatures": {
|
||
|
"jsx": true
|
||
|
},
|
||
|
"ecmaVersion": 12,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"plugins": ["react", "@typescript-eslint"],
|
||
|
"rules": {
|
||
|
"@typescript-eslint/no-unused-vars": "error",
|
||
|
"no-self-assign": "off",
|
||
|
"@typescript-eslint/no-empty-interface": "off",
|
||
|
"react/prop-types": [2, { "ignore": ["children"] }]
|
||
|
},
|
||
|
"settings": {
|
||
|
"react": {
|
||
|
"version": "detect"
|
||
|
}
|
||
|
}
|
||
|
}
|