-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
56 lines (56 loc) · 1.3 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
{
"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,
"babel/no-await-in-loop": 1,
"comma-dangle": 0,
"key-spacing": 0,
"no-extra-boolean-cast": 0,
"no-undef": 1,
"no-unused-vars": [
1,
{
"vars": "all",
"args": "none",
"varsIgnorePattern": "React|PropTypes|Component"
}
],
"no-console": 1,
"react/prop-types": 0,
"meteor/audit-argument-checks": 0,
"no-case-declarations": 0,
"no-return-assign": 1
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"meteor": true,
"node": true
},
"plugins": ["babel", "meteor", "react", "prettier"],
"settings": {
"import/resolver": "meteor"
},
"root": true,
"globals": {
"param": true,
"returns": true
}
}