-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.yaml
49 lines (46 loc) · 1.17 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
45
46
47
48
49
root: true
env:
node: true
extends:
- plugin:import/recommended
- plugin:import/typescript
- plugin:security/recommended-legacy
- eslint:recommended
- plugin:@typescript-eslint/all
- airbnb-base
- airbnb-typescript/base
- plugin:unicorn/all
- plugin:prettier/recommended
- plugin:@eslint-community/eslint-comments/recommended
ignorePatterns:
- dist
- tests/deno
- tests/bun/env.d.ts
- tsup.config.ts
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: latest
project:
- tsconfig.json
sourceType: module
plugins:
- '@typescript-eslint'
- security
settings:
import/resolver:
typescript:
alwaysTryTypes: true
project: .
rules:
'@eslint-community/eslint-comments/no-unused-disable': error
import/extensions: off
import/no-extraneous-dependencies: off
import/prefer-default-export: off
security/detect-object-injection: off
'@typescript-eslint/max-params': off
'@typescript-eslint/naming-convention': off
'@typescript-eslint/no-type-alias': off
'@typescript-eslint/prefer-readonly-parameter-types': off
unicorn/no-null: off
unicorn/prevent-abbreviations: off
unicorn/prefer-string-replace-all: off