-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
59 lines (59 loc) · 1.71 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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"meteor",
"react"
],
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React", // Pragma to use, default to "React"
"version": "15.0", // React version, default to the latest React stable release
"flowVersion": "0.53" // Flow version
},
"propWrapperFunctions": [ "forbidExtraProps" ]
},
"extends": [
"airbnb/base",
"plugin:meteor/recommended",
"plugin:react/recommended"
],
"rules": {
"arrow-parens": "off",
"camelcase": "off",
"class-methods-use-this": "off",
"func-names": "off",
"import/no-absolute-path": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"import/imports-first": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"linebreak-style": "off",
"max-len": ["error", 250],
"meteor/eventmap-params": [2, { "eventParamName": "event", "templateInstanceParamName": "instance" } ],
"meteor/template-names": "off",
"no-confusing-arrow": ["error", {"allowParens": true}],
"no-plusplus": "off",
"no-underscore-dangle": "off",
"object-curly-newline": "off",
"object-property-newline": "off",
"object-shorthand": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"indent": ["error", 2],
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"prefer-promise-reject-errors": "off"
},
"globals": {
"Assets": true // Meteor disallows importing of Assets, see https://docs.meteor.com/api/assets.html
}
}