-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
47 lines (47 loc) · 1.25 KB
/
.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
39
40
41
42
43
44
45
46
47
module.exports = {
"extends": ["standard", "plugin:meteor/recommended"],
"plugins": [
"import", "meteor", "react"
],
"settings": {
"import/core-modules": [ "meteor" ],
"import/resolver": "meteor"
},
"parserOptions": {
"allowImportExportEverywhere": true
},
"rules": {
"no-undef": [2],
"no-underscore-dangle": ["error", { "allowAfterThis": true, "allowAfterSuper": true, "allow": ["_id"], }],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
'import/extensions': ['error', 'always', {
js: 'always',
jsx: 'always',
}],
"indent": 0,
"no-tabs": 0,
"no-console": 0,
"func-names": 0,
"allow-ternary": 0,
"import/no-extraneous-dependencies": 0,
"import/no-absolute-path": [0, { "commonjs": false, "esmodule": false }],
"import/extensions": 0,
"no-undef": 0,
"meteor/no-session": 0,
"meteor/template-names": [2, "snake-case"],
"max-len": 0,
"no-param-reassign": ["error", { "props": false }],
"radix": 0,
"object-shorthand": [ "error", "always", { avoidQuotes: false }],
"semi": ["error", "always"],
},
"globals": {
"Meteor": false,
"Session": false
},
"env": {
"meteor": true,
"node": true,
"browser": true
},
};