-
Notifications
You must be signed in to change notification settings - Fork 56
/
.eslintrc
35 lines (35 loc) · 1.17 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
{
"extends": [
"ringcentral-typescript"
],
"rules": {
"import/default": "off",
"import/no-unresolved": "off", // to capture direct deps in TS
"import/no-default-export": "off",
"no-dupe-class-members": "off", // to enable TS overload
"no-undef": "off", //FIXME @see https://github.com/eslint/typescript-eslint-parser/issues/75
"import/named": "off", //FIXME @see https://github.com/eslint/typescript-eslint-parser/issues/75
"no-unused-expressions": "off", // tests
"react/sort-comp": "off",
"react/prop-types": "off",
"prefer-const": "warn",
"sonarjs/no-nested-template-literals": "off",
"ringcentral/specified-comment-with-task-id": "off",
"@typescript-eslint/camelcase": "off", // OAuth responses
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-var-requires": "off" // conditional require in Externals
},
"env": {
"browser": true,
"mocha": true,
"node": true
},
"settings": {
"react": {
"version": "16.6.0"
}
}
}