-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy path.eslintrc.yml
42 lines (42 loc) · 1.07 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
extends:
- standard-with-typescript
- prettier
- plugin:jest/recommended
ignorePatterns:
- node_modules
- dist
- '*.config.js'
plugins:
- node
- jest
rules:
no-new: off
import/order:
- error
- alphabetize:
order: asc
caseInsensitive: false
orderImportKind: asc
'@typescript-eslint/consistent-type-definitions':
- error
- type
'@typescript-eslint/strict-boolean-expressions': off
'@typescript-eslint/prefer-nullish-coalescing': off
'@typescript-eslint/explicit-function-return-type': off
'@typescript-eslint/restrict-template-expressions': off
'@typescript-eslint/triple-slash-reference': off
'@typescript-eslint/ban-types': off
'@typescript-eslint/consistent-type-assertions': off
jsx-a11y/anchor-is-valid: off
curly:
- error
- all
no-irregular-whitespace:
- error
- skipTemplates: true
skipStrings: true
node/no-process-env: error
no-restricted-syntax:
- error
- selector: '[object.type=MetaProperty][property.name=env]'
message: Use instead import { env } from "lib/env"