-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 1.23 KB
/
.eslintrc.json
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
{
"env": {
"node": true,
"jest": true,
"browser": true,
"es6": true,
"meteor": true
},
"parser": "babel-eslint",
"extends": ["airbnb", "plugin:meteor/recommended"],
"parserOptions": {
"allowImportExportEverywhere": true
},
"plugins": ["meteor"],
"settings": {
"import/resolver": "meteor"
},
"rules": {
"no-console": "warn",
"valid-jsdoc": "warn",
"no-underscore-dangle": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/forbid-prop-types": ["off", { "forbid": [] }],
"no-unused-expressions": [1, { "allowTernary": true, "allowShortCircuit": true }],
"import/no-extraneous-dependencies": "off",
"import/extensions": ["off", "never"],
"linebreak-style": 0,
"class-methods-use-this": [0],
"no-nested-ternary": "off",
"func-names": ["warn", "as-needed"],
"no-param-reassign": ["error", { "props": false }],
"jsx-a11y/label-has-for": "off",
"jsx-a11y/anchor-is-valid": [
"error",
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight", "to"],
"aspects": ["noHref", "invalidHref", "preferButton"]
}
]
},
"globals": {
"moment": true,
"Bert": true
}
}