-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.yml
48 lines (48 loc) · 962 Bytes
/
.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
---
parser: babel-eslint
parserOptions:
ecmaVersion: 6
sourceType: module
env:
browser: true
es6: true
node: true
jest/globals: true
extends:
- airbnb-base
- plugin:jest/recommended
- plugin:jsdoc/recommended
- plugin:prettier/recommended
plugins:
- import
- jest
- jsdoc
- prettier
rules:
valid-jsdoc: 'off'
jsdoc/check-types: 'off'
jsdoc/require-param: 'off'
jsdoc/require-returns: 'off'
import/extensions: [warn, {js: never}]
import/no-extraneous-dependencies: 'off'
import/no-named-as-default: 'off'
jest/no-disabled-tests: warn
jest/no-focused-tests: error
jest/no-identical-title: error
jest/no-try-expect: 'off'
jest/valid-expect: error
jest/no-conditional-expect: 'off'
prettier/prettier:
- error
- {
singleQuote: true,
trailingComma: all
}
settings:
import/resolver:
node:
moduleDirectory:
- ./src
- ./node_modules
jsdoc:
mode: typescript