forked from react-monaco-editor/react-monaco-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.44 KB
/
.eslintrc
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
{
"extends": [
"prettier",
"airbnb",
"plugin:react/recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["react", "prettier", "@typescript-eslint", "react-hooks"],
"rules": {
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unused-vars": 0,
"array-bracket-spacing": 0,
"camelcase": 0,
"comma-dangle": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"jsx-a11y/href-no-hash": 0,
"max-classes-per-file": 0,
"no-underscore-dangle": 0,
"prettier/prettier": 2,
"react/destructuring-assignment": 0,
"react/forbid-prop-types": 0,
"react/jsx-filename-extension": 0,
"react/jsx-no-undef": 2,
"react/jsx-uses-react": 1,
"react/static-property-placement": [2, "static public field"],
"semi": 0,
"valid-jsdoc": 2,
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": ["error"],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}