-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (29 loc) · 819 Bytes
/
.eslintrc.js
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
module.exports = {
extends: ['ringcentral-typescript'],
rules: {
'import/no-default-export': 'off',
'import/no-unresolved': 'off',
'jsx-a11y/anchor-is-valid': 'off', // Next.js use <a>
'no-console': 'off',
'no-unused-expressions': 'off', // tests
'react/sort-comp': 'off',
'react/prop-types': 'off',
'ringcentral/specified-comment-with-task-id': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-var-requires': 'off',
},
env: {
browser: true,
jest: true,
node: true,
},
settings: {
react: {
version: '17.0.2',
},
},
globals: {
page: 'readonly',
},
};