forked from kachick/wait-other-jobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
43 lines (43 loc) · 1.16 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
env:
node: true
es2021: true
jest/globals: true
plugins:
- '@typescript-eslint'
extends:
- plugin:@typescript-eslint/recommended
- plugin:@typescript-eslint/recommended-requiring-type-checking
- plugin:@typescript-eslint/strict
overrides:
- files:
- __tests__/**/*.ts
plugins:
- jest
extends:
- plugin:jest/recommended
rules:
filenames/match-regex: 'off'
rules:
i18n-text/no-en: 'off'
no-restricted-syntax:
- error
- selector: TSEnumDeclaration
message: Don't declare enums.
no-unused-vars: 'off'
'@typescript-eslint/no-unused-vars':
- error
- varsIgnorePattern: ^_
prettier/prettier: 'off'
no-mixed-operators: error
'@typescript-eslint/prefer-readonly': error
'@typescript-eslint/prefer-readonly-parameter-types':
- error
- ignoreInferredTypes: true
# See https://zenn.dev/teppeis/articles/2023-04-typescript-5_0-verbatim-module-syntax for enabling reason
'@typescript-eslint/consistent-type-imports': 'error'
'@typescript-eslint/no-import-type-side-effects': 'error'
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 12
sourceType: module
project: ./tsconfig.json