-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.yml
57 lines (50 loc) · 1.09 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
env:
commonjs: true
es6: true
jest: true
node: true
globals:
Atomics: readonly
SharedArrayBuffer: readonly
ignorePatterns:
- '!.*'
- '**/node_modules/.*'
- '**/dist/.*'
- '**/coverage/.*'
- '**/__tests__/.*'
- '*.json'
- /src/index.ts
parser: '@typescript-eslint/parser'
parserOptions:
ecmaVersion: 2023
sourceType: module
requireConfigFile: false
project: 'tsconfig.eslint.json'
babelOptions:
babelrc: false
configFile: false
presets:
- jest
plugins:
- jest
- '@typescript-eslint/eslint-plugin'
extends:
- eslint:recommended
- plugin:github/recommended
- plugin:jest/recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
rules:
'camelcase': 0
'eslint-comments/no-use': 0
'eslint-comments/no-unused-disable': 0
'i18n-text/no-en': 0
'import/no-commonjs': 0
'import/no-namespace': 0
'no-console': 0
'no-unused-vars': 0
'prettier/prettier': 2
'semi': 0
'@typescript-eslint/space-before-function-paren': 0
'no-shadow': 0
'@typescript-eslint/restrict-template-expressions': 0