ecency-mobile/.eslintrc.json

102 lines
2.0 KiB
JSON
Raw Normal View History

{
2023-11-02 10:07:08 +03:00
"parser": "@typescript-eslint/parser",
2019-05-25 13:46:07 +03:00
"extends": [
"airbnb",
2019-11-30 10:36:23 +03:00
"prettier",
2023-11-02 10:07:08 +03:00
"plugin:@typescript-eslint/recommended",
2019-05-25 13:46:07 +03:00
"plugin:prettier/recommended",
"plugin:eslint-comments/recommended",
2019-12-03 17:05:10 +03:00
"eslint:recommended",
2019-05-25 13:46:07 +03:00
"plugin:import/errors",
"plugin:import/warnings",
2019-12-02 17:39:49 +03:00
"plugin:jest/recommended",
2019-12-03 17:05:10 +03:00
"@react-native-community",
"plugin:import/typescript"
2019-05-25 13:46:07 +03:00
],
"env": {
2019-05-25 13:46:07 +03:00
"browser": true,
"jest": true,
2019-12-03 17:05:10 +03:00
"react-native/react-native": true,
"node": true
},
2019-11-29 17:10:43 +03:00
"plugins": [
"react",
"react-native",
2019-11-30 10:36:23 +03:00
"react-hooks",
2019-11-29 17:10:43 +03:00
"jsx-a11y",
"import",
"prettier",
"jest",
"eslint-comments"
],
2023-11-02 10:07:08 +03:00
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
":react-native/style-sheet-object-names": ["EStyleSheet"]
},
"rules": {
"react/jsx-filename-extension": [
2,
{
2023-11-02 10:07:08 +03:00
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
],
2023-11-02 10:07:08 +03:00
"max-len": [
"warn",
100
],
"react/forbid-prop-types": [
0
],
"no-underscore-dangle": 0,
2023-11-02 10:07:08 +03:00
"react/require-default-props": [
0
],
"global-require": [
0
],
"func-names": [
"error",
"as-needed"
],
"linebreak-style": 0,
"no-use-before-define": "off",
"import/prefer-default-export": "off",
"react/prop-types": 0,
"import/no-named-default": "off",
2018-11-13 01:57:58 +03:00
"no-param-reassign": "off",
2019-09-26 00:01:02 +03:00
"no-case-declarations": "off",
2019-12-03 17:05:10 +03:00
"import/no-cycle": "off",
2022-10-19 14:11:21 +03:00
"react-hooks/rules-of-hooks": "warn",
2019-12-02 17:39:49 +03:00
"react-hooks/exhaustive-deps": "off",
2023-11-02 10:07:08 +03:00
"react/destructuring-assignment": [
1,
"always"
],
2019-11-30 10:36:23 +03:00
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
2019-12-03 17:05:10 +03:00
],
2021-03-14 20:10:34 +03:00
"import/no-unresolved": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
2023-11-02 10:07:08 +03:00
]
}
2023-11-02 10:07:08 +03:00
}