This repository has been archived by the owner on Jul 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc
112 lines (112 loc) · 3.06 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"parser": "babel-eslint",
"extends": "airbnb",
"parserOptions": {
"allowImportExportEverywhere": true
},
"env": {
"meteor": true,
"node": true,
"browser": true,
"es6": true
},
"globals": {
"__meteor_runtime_config__": true,
"NativeStorage": true,
"ga": true,
"hockeyapp": true,
"google": true,
"serverWatch": true,
"Raven": true,
"FastRender": true,
"RoutePolicy": true,
"StatusBar": true,
"OO": true,
"RemoteCommand": true,
"fabric": true,
"Media": true,
"FormElement": true,
"SyntheticInputEvent": true,
"React$Element": true,
"jest": true,
"universalLinks": true,
"FCMPlugin": true,
"device": true
},
"plugins": [
"jsx-a11y",
"compat"
],
"rules": {
"arrow-parens": ["error", "as-needed"],
"quotes": [2, "double", { "allowTemplateLiterals": true }],
"import/extensions": 0,
"import/no-absolute-path": 0,
"import/no-unresolved": [2, { "ignore": [
"^meteor/*", "^/imports/*"
] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/react-in-jsx-scope": 0,
"react/no-string-refs": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"react/no-array-index-key": 0,
"react/no-will-update-set-state": 0,
"class-methods-use-this": 0,
"jsx-a11y/accessible-emoji": 0,
"jsx-a11y/alt-text": 0,
"jsx-a11y/anchor-has-content": 0,
"jsx-a11y/aria-activedescendant-has-tabindex": 0,
"jsx-a11y/aria-props": 0,
"jsx-a11y/aria-proptypes": 0,
"jsx-a11y/aria-role": 0,
"jsx-a11y/aria-unsupported-elements": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/heading-has-content": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/html-has-lang": 0,
"jsx-a11y/iframe-has-title": 0,
"jsx-a11y/img-has-alt": 0,
"jsx-a11y/img-redundant-alt": 0,
"jsx-a11y/label-has-for": 0,
"jsx-a11y/lang": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"jsx-a11y/no-access-key": 0,
"jsx-a11y/no-autofocus": 0,
"jsx-a11y/no-distracting-elements": 0,
"jsx-a11y/no-onchange": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/onclick-has-focus": 0,
"jsx-a11y/onclick-has-role": 0,
"jsx-a11y/role-has-required-aria-props": 0,
"jsx-a11y/role-supports-aria-props": 0,
"jsx-a11y/scope": 0,
"jsx-a11y/tabindex-no-positive": 0,
"react/sort-comp": [1, {
order: [
'type-annotations',
'static-methods',
'lifecycle',
'everything-else',
'render',
],
}],
"import/no-extraneous-dependencies": [1],
"no-useless-escape": 0,
"no-cond-assign": 0,
"compat/compat": 1,
"no-underscore-dangle": 0,
"no-restricted-syntax": 0,
"no-return-assign": 0,
},
"settings": {
"import/core-modules": [
"meteor/meteor",
"meteor/accounts-base",
"meteor/mongo",
"meteor/bjwiley2:server-watch",
],
"targets": ["chrome", "firefox", "edge", "safari", "ie"],
}
}