-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path.eslintrc
30 lines (30 loc) · 940 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
{
"extends": [
"ringcentral-typescript"
],
"rules": {
"import/no-default-export": "off",
"import/no-unresolved": "off", // to capture direct deps in TS
"import/no-webpack-loader-syntax": "off", // !raw-loader!./shadow.css
"no-console": "off",
"no-undef": "off", //FIXME @see https://github.com/eslint/typescript-eslint-parser/issues/75
"react/display-name": "off", // export default () => { ... }
"react/sort-comp": "off",
"react/prop-types": "off",
"ringcentral/specified-comment-with-task-id": "warn",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off" // conditional require in Externals
},
"env": {
"browser": true,
"mocha": true,
"node": true
},
"settings": {
"react": {
"version": "16.6.0"
}
}
}