/
.eslintrc.js
35 lines (35 loc) · 871 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
root: true,
extends: [
"@react-native-community",
"eslint:recommended",
"plugin:react-perf/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
],
plugins: ["file-progress", "react-perf/"],
ignorePatterns: [
"node_modules/",
"**/stories.tsx",
"coverage/",
"cypress/",
"lib/",
".nyc_output/",
"graphql/",
],
rules: {
quotes: 0,
curly: 0,
"react-perf/jsx-no-jsx-as-prop": "error",
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"dot-notation": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-var-requires": 0,
"file-progress/activate": 1,
"react-hooks/exhaustive-deps": [
"warn",
{ additionalHooks: "(useThemeStyle)" },
],
},
};