robosats/mobile/.eslintrc.json

41 lines
889 B
JSON
Raw Normal View History

{
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
2024-10-19 13:33:55 +00:00
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
2024-10-19 13:33:55 +00:00
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module",
2024-10-19 13:33:55 +00:00
"project": "./tsconfig.json",
"tsconfigRootDir": "./"
},
"plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"],
"rules": {
2024-10-19 13:33:55 +00:00
"react-hooks/rules-of-hooks": "off",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off"
},
"settings": {
"import/resolver": {
"typescript": {}
},
"react": {
"version": "detect"
}
2024-10-19 13:33:55 +00:00
},
"ignorePatterns": ["html/*", "android/app/build/*"]
}