mirror of
https://github.com/Reckless-Satoshi/robosats.git
synced 2024-08-17 07:40:38 +03:00
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"jest": 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"
|
|
}
|
|
}
|
|
}
|