forked from drizzle-team/drizzle-orm-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (42 loc) · 1.19 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
{
"extends": ["airbnb", "airbnb-typescript"],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"browser": true,
"node": true
},
"rules": {
"@typescript-eslint/no-use-before-define": ["error", {
"variables": false
}],
"no-tabs": ["error", { "allowIndentationTabs": true }],
"linebreak-style": "off",
"no-case-declarations": "off",
"import/extensions": "off",
"import/prefer-default-export": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events" : "off",
"jsx-a11y/anchor-is-valid": "off",
"react/prop-types": "off",
"import/no-named-as-default": "off",
"import/no-webpack-loader-syntax": "off",
"react/no-array-index-key": "off",
"react/jsx-props-no-spreading": "off",
"react/react-in-jsx-scope": "off",
"react/function-component-definition": "off",
"react/jsx-no-useless-fragment": "off",
"class-methods-use-this": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"react-hooks/exhaustive-deps": "off",
"no-eval": "off",
"react/require-default-props": ["error", {
"ignoreFunctionalComponents": true
}],
"no-console": ["warn", {
"allow": ["error", "warn", "info"]
}]
}
}