forked from Psycholive/serverless-aws-alias
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (42 loc) · 832 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
38
39
40
41
42
43
44
45
---
env:
es6: true
node: true
mocha: true
extends:
- eslint:recommended
- plugin:lodash/recommended
- plugin:import/errors
- plugin:import/warnings
plugins:
- promise
- lodash
- import
rules:
indent:
- error
- tab
-
MemberExpression: off
no-trailing-spaces: error
semi:
- error
- always
promise/always-return: error
promise/no-return-wrap: error
promise/param-names: error
promise/catch-or-return: error
promise/no-native: off
promise/no-nesting: off
promise/no-promise-in-callback: warn
promise/no-callback-in-promise: warn
promise/avoid-new: warn
import/no-named-as-default: off
lodash/import-scope: off
lodash/preferred-alias: off
lodash/prop-shorthand: off
lodash/prefer-lodash-method:
- error
-
ignoreObjects:
- BbPromise