-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
66 lines (60 loc) · 1.23 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
56
57
58
59
60
61
62
63
64
65
66
root: true
parserOptions:
ecmaVersion: 2020
extends:
- airbnb-base
- plugin:jsdoc/recommended
- plugin:security/recommended
- plugin:prettier/recommended
plugins:
- jsdoc
- security
rules:
arrow-body-style: 0
camelcase: 0
class-methods-use-this: 0
consistent-return: 0
curly: ["error", "all"]
func-names: 0
function-paren-newline: 0
global-require: 0
implicit-arrow-linebreak: "off"
jsdoc/check-examples: "off"
jsdoc/check-tag-names: "error"
jsdoc/no-undefined-types: "off"
jsdoc/require-returns-description: "off"
no-multi-assign: 0
no-param-reassign: 0
no-restricted-syntax: ["error", "ForInStatement", "LabeledStatement", "WithStatement"]
no-underscore-dangle: 0
prefer-arrow-callback: 0
security/detect-object-injection: 0
settings:
jsdoc:
preferredTypes:
object: Object
express: Express
Function: function
knex: Knex
tagNamePreference:
constant: const
file: fileoverview
returns: return
globals:
# Testing
suite: true
test: true
describe: true
it: true
setup: true
before: true
beforeEach: true
after: true
afterEach: true
teardown: true
assert: true
fit: true
fdescribe: true
expect: true
jest: true
BigInt: true