forked from guigrpa/docx-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yaml
executable file
·44 lines (44 loc) · 1.05 KB
/
.eslintrc.yaml
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
parser: "@typescript-eslint/parser"
parserOptions:
project: tsconfig.json
sourceType: module
extends:
- plugin:@typescript-eslint/eslint-recommended
- plugin:import/errors
- plugin:import/warnings
- plugin:import/typescript
- plugin:jest/recommended
- plugin:prettier/recommended
plugins:
- "@typescript-eslint"
- jest
rules:
eqeqeq: ["error", "allow-null"]
comma-dangle:
- error
- arrays: always-multiline
objects: always-multiline
imports: always-multiline
exports: always-multiline
functions: ignore
import/no-extraneous-dependencies:
- error
- devDependencies: true
peerDependencies: true
optionalDependencies: false
import/prefer-default-export: off
import/no-unused-modules:
- error
- unusedExports: true
ignoreExports: ["./src/index.ts"]
radix: error
prefer-promise-reject-errors: error
no-throw-literal: error
guard-for-in: warn
jest/valid-expect: error
dot-notation: error
no-loop-func: error
no-extra-bind: error
linebreak-style:
- error
- unix