-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
81 lines (81 loc) · 2.04 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
77
78
79
80
81
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"extends": "react-app",
"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",
"no-unused-vars": "error",
"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",
"react/prop-types": "off",
"react/require-default-props": "off",
"react/forbid-prop-types": "off",
"react/no-array-index-key": "off",
"jsx-a11y/label-has-for": "off",
"jsx-a11y/no-static-element-interactions": "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",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"react/no-unused-prop-types": "off",
"react/no-danger": "off",
"no-bitwise": "off",
"padded-blocks": "off",
"import/extensions": "off",
"react/prefer-es6-class": "off",
"no-prototype-builtins": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"],
"moduleDirectory": ["node_modules", "./client/src"]
}
}
}
}