2022-04-21 17:52:54 +03:00
|
|
|
{
|
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": [],
|
2022-04-21 17:52:54 +03:00
|
|
|
"parserOptions": {
|
2022-08-28 01:20:45 +03:00
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"sourceType": "module",
|
|
|
|
"project": "./tsconfig.json"
|
2022-04-21 17:52:54 +03:00
|
|
|
},
|
2023-10-27 13:01:59 +03:00
|
|
|
"ignorePatterns": ["index.js", "**/PaymentMethods/Icons/code/code.js"],
|
2022-09-20 20:39:49 +03:00
|
|
|
"plugins": ["react", "react-hooks", "@typescript-eslint", "prettier"],
|
2022-04-21 17:52:54 +03:00
|
|
|
"rules": {
|
|
|
|
"react-hooks/rules-of-hooks": "error",
|
2023-10-27 13:01:59 +03:00
|
|
|
"react-hooks/exhaustive-deps": "off",
|
2022-05-11 14:27:11 +03:00
|
|
|
"react/prop-types": "off",
|
2023-10-27 13:01:59 +03:00
|
|
|
"react/react-in-jsx-scope": "off",
|
|
|
|
"@typescript-eslint/naming-convention": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"selector": "variableLike",
|
|
|
|
"format": ["camelCase", "snake_case", "PascalCase", "UPPER_CASE"],
|
|
|
|
"leadingUnderscore": "allow"
|
|
|
|
}
|
|
|
|
]
|
2022-04-21 17:52:54 +03:00
|
|
|
},
|
|
|
|
"settings": {
|
2022-08-28 01:20:45 +03:00
|
|
|
"import/resolver": {
|
|
|
|
"typescript": {}
|
|
|
|
},
|
2022-04-21 17:52:54 +03:00
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2022-09-20 20:39:49 +03:00
|
|
|
}
|