forked from twilio/twilio-webchat-react-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 1008 Bytes
/
.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
{
"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": "off",
"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"
}
}