mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-15 11:56:23 +00:00
49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"jest": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"standard-with-typescript",
|
|
"prettier"
|
|
],
|
|
"overrides": [],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["index.js", "**/PaymentMethods/Icons/code/code.js"],
|
|
"plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react/prop-types": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"@typescript-eslint/strict-boolean-expressions": "off",
|
|
"@typescript-eslint/naming-convention": [
|
|
"error",
|
|
{
|
|
"selector": "variableLike",
|
|
"format": ["camelCase", "snake_case", "PascalCase", "UPPER_CASE"],
|
|
"leadingUnderscore": "allow"
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {}
|
|
},
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|