-
-
Notifications
You must be signed in to change notification settings - Fork 87
/
.eslintrc
46 lines (46 loc) · 1.11 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
{
"root": true,
"env": {
"node": true
},
"parserOptions": {
"sourceType": "script",
"ecmaFeatures": {
"impliedStrict": false
}
},
"extends": [
"eslint-config-airbnb-base",
"plugin:ramda/recommended",
"prettier"
],
"plugins": ["eslint-plugin-ramda", "eslint-plugin-prettier", "prettier"],
"rules": {
"strict": [2, "global"],
"space-before-function-paren": "off",
"no-underscore-dangle": 0,
"no-confusing-arrow": "off",
"object-curly-newline": "off",
"import/order": ["error", {
"groups": [
["builtin", "external", "internal"],
["parent", "sibling", "index"]
],
"newlines-between": "always"
}],
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
],
"quotes": ["error", "single", { "avoidEscape": true }],
"ramda/always-simplification": ["error"],
"ramda/compose-simplification": ["error"],
"ramda/eq-by-simplification": ["error"],
"ramda/prefer-complement": ["error"],
"ramda/prefer-both-either": ["error"],
"prettier/prettier": "error"
}
}