-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
80 lines (80 loc) · 1.5 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"extends": [
"eslint:recommended",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"allowImportExportEverywhere": true,
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"babel/generator-star-spacing": 0,
"babel/new-cap": [
1,
{
"capIsNewExceptions": [
"Optional",
"OneOf",
"Maybe",
"MailChimpAPI",
"Juice",
"Run",
"AppComposer",
"Query"
]
}
],
"babel/array-bracket-spacing": 0,
"babel/object-curly-spacing": 0,
"babel/object-shorthand": 0,
"babel/arrow-parens": 0,
"no-await-in-loop": 1,
"comma-dangle": 0,
"key-spacing": 0,
"meteor/audit-argument-checks": 0,
"no-case-declarations": 0,
"no-console": 1,
"no-extra-boolean-cast": 0,
"no-undef": 1,
"no-unused-vars": [
1,
{
"vars": "all",
"args": "none",
"varsIgnorePattern": "React|PropTypes|Component"
}
],
"no-useless-escape": 0,
"quotes": [
1,
"single"
],
"react/prop-types": 0
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"meteor": true,
"node": true,
"mocha": true
},
"plugins": [
"babel",
"meteor",
"react",
"prettier",
"mocha"
],
"settings": {
"import/resolver": "meteor"
},
"root": true,
"globals": {
"param": true,
"returns": true
}
}