forked from vbuch/node-signpdf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
31 lines (31 loc) · 917 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
{
"extends": [
"airbnb-base",
"plugin:jest/recommended"
],
"env": {
"es6": true,
"node": true,
"jest": true
},
"parser": "babel-eslint",
"plugins": [
"jest"
],
"rules": {
"indent": ["error", 4, { "SwitchCase": 1 }],
"object-curly-spacing": ["error", "never"],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/__mocks__/*"]}],
"func-names": ["warn", "never"],
"no-throw-literal": "off",
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"radix": ["error", "as-needed"],
"class-methods-use-this": "off"
},
"settings": {
"import/resolver": {
"babel-module": {}
}
}
}