51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {
|
|
"project": "./tsconfig.json"
|
|
}
|
|
},
|
|
"react": {
|
|
"version": "17.0.2"
|
|
}
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:import/recommended",
|
|
"plugin:import/typescript"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"react",
|
|
"import",
|
|
"babel",
|
|
"cypress",
|
|
"no-only-tests",
|
|
"@typescript-eslint",
|
|
"unused-imports"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"impliedStrict": true,
|
|
"modules": true,
|
|
"experimentalObjectRestSpread": true
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jquery": true,
|
|
"es6": true
|
|
},
|
|
"rules": {
|
|
"no-unused-vars": "warn",
|
|
"no-unused-expressions": "warn",
|
|
"unused-imports/no-unused-imports": "warn",
|
|
"import/no-named-as-default": "off"
|
|
}
|
|
}
|