-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
87 lines (87 loc) · 2.35 KB
/
.eslintrc.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:import/errors",
"plugin:import/warnings",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:import/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"moduleDirectory": ["node_modules", "@types"]
},
"typescript": {} // 프로젝트 Root의 tsconfig.json을 찾는다.
}
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "react-hooks"],
"ignorePatterns": "craco.config.js",
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"no-unused-vars": "off",
"no-empty": "off",
"no-case-declarations": "off",
"react/prop-types": "off",
"no-empty-pattern": "off",
"no-fallthrough": "off",
"linebreak-style": "off",
"max-len":"off",
"no-shadow":"off",
"quotes": "off",
"semi":"off",
"import/extensions": "off",
"@typescript-eslint/no-empty-interface": "off",
"arrow-body-style": "off",
"import/order": "off",
"no-trailing-spaces": "off",
"comma-dangle": "off",
"array-bracket-spacing":"off",
"no-else-return": "off",
"no-multi-spaces": "off",
"no-confusing-arrow": "off",
"arrow-parens":"off",
"eol-last":"off",
"import/newline-after-import": "off",
"padded-blocks": "off",
"no-multiple-empty-lines":"off",
"import/prefer-default-export": "off",
"operator-linebreak": "off",
"no-restricted-syntax": "off",
"prefer-const": "off",
"generator-star-spacing": "off",
"no-plusplus":"off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"no-prototype-builtins": "off",
"prefer-template": "off",
"array-callback-return": "off"
}
}