robosats/frontend/.eslintrc.json

42 lines
772 B
JSON
Raw Normal View History

{
2022-08-28 01:20:45 +03:00
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"standard-with-typescript",
"prettier"
],
"overrides": [],
"parserOptions": {
2022-08-28 01:20:45 +03:00
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
2022-08-28 01:20:45 +03:00
"react",
"react-hooks",
"@typescript-eslint",
2022-08-28 01:20:45 +03:00
"prettier"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
2022-08-28 01:20:45 +03:00
"react/react-in-jsx-scope": "off"
},
"settings": {
2022-08-28 01:20:45 +03:00
"import/resolver": {
"typescript": {}
},
"react": {
"version": "detect"
}
}
2022-08-28 01:20:45 +03:00
}