-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
76 lines (76 loc) · 1.81 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
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
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"allowImportExportEverywhere": true,
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": [
"error",
"tab"
],
"class-methods-use-this": "off",
"no-return-await": "off",
"consistent-return": "off",
"object-shorthand": "off",
"no-absolute-path": "off",
"no-param-reassign": "off",
"no-tabs": "off",
"no-underscore-dangle": "off",
"no-undef": "off",
"no-console": "off",
"react/jsx-indent": [
"error",
"tab"
],
"react/jsx-indent-props": [
"error",
"tab"
],
"react/react-in-jsx-scope": "off",
"react/prefer-stateless-function": "off",
"react/jsx-no-undef": "off",
"react/jsx-no-bind": "off",
"react/sort-comp": "off",
"jsx-a11y/label-has-for": "off",
"new-cap": "off",
"import/no-extraneous-dependencies": "off",
"object-curly-spacing": "off",
"no-multiple-empty-lines": "off",
"comma-dangle": "off",
"meteor/no-session": "off",
"no-trailing-spaces": "off",
"space-before-function-paren": "off",
"prefer-arrow-callback": "off",
"max-len": "off",
"jsx-a11y/anchor-has-content": "off",
"no-bitwise": "off",
"padded-blocks": "off",
"import/extensions": "off",
"react/prefer-es6-class": "off",
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"import/prefer-default-export": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"array-callback-return": "off",
"func-names": "off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"],
"moduleDirectory": ["node_modules", "./client/src"]
}
}
}
}