-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
55 lines (55 loc) · 1.25 KB
/
.eslintrc.yml
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
47
48
49
50
51
52
53
54
55
parser: babel-eslint
extends:
- airbnb-base
- plugin:flowtype/recommended
plugins:
- flowtype
- jsdoc
- chai-friendly
env:
node: true
mocha: true
rules:
no-param-reassign: "off"
import/extensions:
- off
import/no-unresolved:
- error
- commonjs: true
ignore: [ ^aws-sdk$, aws-operations$, fs-operations$, connection$, ^./contrib/*, ^oracledb$, ^request-promise-native$ ]
import/no-extraneous-dependencies:
- error
- devDependencies:
- 'src/tests/unit/**/*.js'
- gulpfile.js
- 'src/db/awsS3/aws-operations.js'
- 'src/db/oracledb/connection.js'
import/prefer-default-export: 'off'
import/no-default-export:
- error
no-unused-expressions: 'off'
chai-friendly/no-unused-expressions: 'error'
jsdoc/require-param:
- warn
- exemptedBy: [ type ]
jsdoc/require-returns:
- warn
- exemptedBy: [ type ]
jsdoc/no-undefined-types:
- warn
# Express and gulpfile types
- definedTypes:
- RequestHandler
- ErrorRequestHandler
- Request
- Response
- Stream
- ChildProcess
jsdoc/require-jsdoc:
- warn
- publicOnly: true
require:
ArrowFunctionExpression: true
settings:
import/resolver:
babel-module: {}