This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
executable file
·98 lines (98 loc) · 2.19 KB
/
.eslintrc.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"env": {
"es2017": true,
"jest": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/standard",
"plugin:jest/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"globalReturn": true,
"impliedStrict": true,
"jsx": false
},
"ecmaVersion": 2017,
"project": "./tsconfig.json"
},
"root": true,
"rules": {
"@typescript-eslint/camelcase": [
"error",
{
"allow": [
"album_id",
"artist_full_name",
"artist_id",
"artists_ids",
"auth_date",
"callback_query",
"category_id",
"created_at",
"downloads_count",
"e_tag",
"expire_at",
"file_key",
"first_name",
"followers_count",
"full_name",
"function_score",
"has_cover",
"has_video",
"is_blocked",
"is_bot",
"language_code",
"last_name",
"max_audio_rate",
"mime_type",
"multi_match",
"must_not",
"owner_user_id",
"photo_id",
"photo_url",
"private_key",
"public_key",
"registered_date",
"release_date",
"script_score",
"song_id",
"songs_ids",
"tag_id",
"telegram_id",
"tracks_count",
"type_id",
"unique_name",
"update_id",
"user_id"
]
}
],
"import/default": "off",
"import/namespace": "off",
"sort-imports": "error",
"sort-keys": "error",
"sort-vars": "error"
},
"settings": {
"import/resolver": {
"typescript": {
"directory": ["apps/*/tsconfig.app.json", "libs/*/tsconfig.lib.json"]
}
}
}
}