-
-
Notifications
You must be signed in to change notification settings - Fork 389
Expand file tree
/
Copy path.eslintrc.js
More file actions
33 lines (33 loc) · 701 Bytes
/
.eslintrc.js
File metadata and controls
33 lines (33 loc) · 701 Bytes
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
module.exports = {
extends: ['jss', 'prettier', 'prettier/react'],
parser: 'babel-eslint',
env: {
mocha: true,
browser: true
},
globals: {
benchmark: true,
__VERSION__: true,
CSS: true
},
overrides: [
{
files: ['docs/*.md', 'docs/**/*.md'],
rules: {
'no-console': 'off'
}
},
{
files: ['examples/**/*.js'],
rules: {
'import/no-unresolved': 'off',
'react/prop-types': 'off',
'no-console': 'off',
'import/extensions': 'off',
'import/prefer-default-export': 'off',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/label-has-associated-control': 'off'
}
}
]
}