-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
37 lines (37 loc) · 803 Bytes
/
.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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true
},
"ecmaFeatures": {
"modules": true
},
"parserOptions": {
"allowImportExportEverywhere": true
},
"plugins": [
"prettier",
"react"
],
"settings": {
"import/resolver": "meteor"
},
"globals": {
"Package": true,
"$": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"rules": {
"prettier/prettier": [
"error", {"singleQuote": true, "trailingComma": "es5", "printWidth": 100 }],
"react/prop-types": 0,
"react/no-direct-mutation-state": 0,
"react/no-find-dom-node": 0,
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": true, "varsIgnorePattern": "^_" }]
}
}