forked from twilio/twilio-webchat-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 1 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
{
"extends": [
"twilio-ts",
"twilio-react",
"prettier"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true
},
"parser": "@typescript-eslint/parser",
"rules": {
"prettier/prettier": [
"warn",
{},
{
"usePrettierrc": true
}
],
"complexity": "off",
"react/display-name" : "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/no-multi-comp": "off",
"sonarjs/cognitive-complexity": "off",
"sonarjs/no-small-switch": "off",
"no-shadow": "off",
"no-console": "warn",
"no-duplicate-imports": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-unused-vars": "error",
"import/no-duplicates": ["error"],
"spaced-comment": "warn",
"prefer-named-capture-group": "off"
}
}