-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.eslintrc.js
38 lines (38 loc) · 908 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
30
31
32
33
34
35
36
37
38
module.exports = {
'parser': 'babel-eslint',
'extends': [
'./config/eslint/react-rules.js',
'./config/eslint/best-practices.js',
'./config/eslint/other-rules.js',
],
"plugins": [
"react"
],
'parserOptions': {
'ecmaFeatures': {
'arrowFunctions': true,
'blockBindings': true,
'classes': true,
'defaultParams': true,
'destructuring': true,
'forOf': true,
'generators': false,
'modules': true,
'objectLiteralComputedProperties': true,
'objectLiteralDuplicateProperties': false,
'objectLiteralShorthandMethods': true,
'objectLiteralShorthandProperties': true,
'restParams': true,
'spread': true,
'superInFunctions': true,
'templateStrings': true,
'jsx': true,
},
'ecmaVersion': 7,
'sourceType': 'module',
env: {
node: 'true',
jest: 'true'
}
}
}