-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
86 lines (86 loc) · 1.88 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
81
82
83
84
85
86
{
"parser": "babel-eslint",
"parserOptions": {
"allowImportExportEverywhere": true
},
"env": {
"meteor": true,
"browser": true,
"mocha": true
},
"plugins": [
"meteor"
],
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
"rules": {
"func-names": "warn",
"consistent-return": "off",
"no-console": "off",
"class-methods-use-this": "off",
"comma-dangle": "off",
"max-classes-per-file": "off",
"max-len": [
"error",
120
],
"no-underscore-dangle": [
"error",
{
"allow": [
"_id",
"_name",
"_execute",
"_sender"
]
}
],
"object-curly-spacing": [
"error",
"never"
],
"import/no-extraneous-dependencies": "off",
"import/no-absolute-path": "off",
"import/prefer-default-export": "off",
"import/first": "off",
"import/extensions": "off",
"react/no-multi-comp": "off",
"react/no-string-refs": "off",
"react/prop-types": "warn",
"react/require-default-props": "warn",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/prefer-stateless-function": "off",
"react/state-in-constructor": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-closing-bracket-location": "warn",
"react/jsx-no-bind": [
"warn",
{"allowArrowFunctions": true}
],
"meteor/no-session": "off",
"meteor/eventmap-params": [
"error",
{
"eventParamName": "event",
"templateInstanceParamName": "instance"
}
],
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{
"aspects": [
"invalidHref"
]
}
]
},
"settings": {
"import/resolver": "meteor"
}
}