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
/
.eslintrc.json
executable file
·96 lines (96 loc) · 2.39 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
{
"env": {
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:prettier/recommended",
"prettier/standard",
"prettier/@typescript-eslint"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"project": "./tsconfig.eslint.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/camelcase": ["error", { "allow": [
"allowed_updates",
"cache_time",
"callback_query_id",
"can_change_info",
"can_delete_messages",
"can_edit_messages",
"can_invite_users",
"can_pin_messages",
"can_post_messages",
"can_promote_members",
"can_restrict_members",
"chat_id",
"contains_masks",
"disable_edit_message",
"disable_notification",
"disable_web_page_preview",
"error_message",
"file_id",
"first_name",
"foursquare_id",
"foursquare_type",
"game_short_name",
"inline_message_id",
"inline_query_id",
"is_flexible",
"is_personal",
"last_name",
"live_period",
"mask_position",
"max_connections",
"message_id",
"next_offset",
"phone_number",
"reply_markup",
"show_alert",
"sticker_set_name",
"supports_streaming",
"switch_pm_parameter",
"switch_pm_text",
"until_date",
"video_note",
"parse_mode",
"user_id",
"png_sticker",
"provider_token",
"start_parameter",
"need_email",
"need_name",
"need_shipping_address",
"photo_height",
"photo_size",
"photo_url",
"shipping_options",
"shipping_query_id",
"pre_checkout_query_id",
"photo_width",
"provider_data",
"send_email_to_provider",
"youtube_v3"
], "properties": "never" }],
"@typescript-eslint/interface-name-prefix": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": "off"
}
}