-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
44 lines (44 loc) · 1.7 KB
/
Copy path.eslintrc
File metadata and controls
44 lines (44 loc) · 1.7 KB
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
// {
// "parser": "@typescript-eslint/parser",
// "parserOptions": {
// "project": "./tsconfig.json"
// },
// "env": {
// "node": true
// },
// "plugins": ["prettier"],
// "extends": ["plugin:@typescript-eslint/recommended"],
// "rules": {
// // "prettier/prettier": "off",
// // When you break the prettier rules, release the rule build error
// "react/jsx-filename-extension": [0, { "extensions": ["js", "jsx"] }],
// // js, jsx Extensions allowed.
// "arrow-parens": ["warn", "as-needed"],
// // If there is only one arrow function parameter, skip bracket
// "no-unused-vars": ["off"],
// // When there is a variable that is not used, release the rule build error
// "no-console": ["off"],
// // When there is a console that is used, release the rule build error
// "import/prefer-default-export": ["off"],
// // When there is a export const that is used, release the rule build error
// "react-hooks/exhaustive-deps": ["off"],
// // Mitigating the rule of forcibly adding dependence when hooks' dependence arrangement is insufficient.
// "react/jsx-props-no-spreading": ["off"],
// // When there is a props spreading that is used, release the rule build error
// "react/prop-types": ["off"],
// // When there is a props type check that is not used, release the rule build error
// "no-underscore-dangle": ["off"],
// // When there is a camelCase that is not used, release the rule build error
// // ex) eslint_camel
// "no-empty-function": "off",
// "@typescript-eslint/no-empty-function": ["off"]
// },
// "settings": {
// "import/resolver": {
// "node": {
// "moduleDirectory": ["node_modules", "."]
// // Setting the absolute path.
// }
// }
// }
// }