-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
26 lines (23 loc) · 725 Bytes
/
.eslintrc
File metadata and controls
26 lines (23 loc) · 725 Bytes
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
{
"extends": [
"airbnb",
"plugin:meteor/recommended"
],
"plugins": [
"meteor"
],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"rules": {
"import/extensions": 0, // Disabled because of meteor/... imports
"import/no-absolute-path": 0,
"import/no-extraneous-dependencies": 0, // Disabled because of meteor/... imports
"import/no-unresolved": [2, { "ignore": ["^meteor/", "^/"] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-underscore-dangle": [2, { "allow": ["_id"] }],
"object-shorthand": [2, "always", { "avoidQuotes": false }], // Improve DX for meteor methods and `this` keyword
}
}