@st1ggy/linter-config 7.2.2 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/data/linter-config-inventory.json +2508 -2
- package/docs/RULE_MAPPING.md +2 -0
- package/index.d.ts +9 -0
- package/package.json +13 -2
- package/scripts/README.md +5 -1
- package/scripts/init-solid.sh +5 -0
- package/scripts/inventory.mjs +5 -0
- package/scripts/linter-init-core.mjs +13 -2
- package/scripts/linter-init.mjs +2 -0
- package/scripts/package-smoke.mjs +56 -0
- package/scripts/solid-config.test.mjs +134 -0
- package/src/eslint/configs/config.solid.js +36 -0
- package/src/eslint/eslint.config.solid.js +4 -0
- package/src/examples/example.solid.tsx +3 -0
- package/src/index.js +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-
|
|
3
|
-
"source": "@st1ggy/linter-config@7.2.
|
|
2
|
+
"generatedAt": "2026-09-19T11:29:44.706Z",
|
|
3
|
+
"source": "@st1ggy/linter-config@7.2.2 (local tree)",
|
|
4
4
|
"linterConfigRoot": "/Users/dnbragin/Projects/personal/linter-config",
|
|
5
5
|
"flatConfigs": {
|
|
6
6
|
"eslint-common": {
|
|
@@ -5015,6 +5015,2512 @@
|
|
|
5015
5015
|
"yield-star-spacing": "off"
|
|
5016
5016
|
}
|
|
5017
5017
|
},
|
|
5018
|
+
"eslint-solid": {
|
|
5019
|
+
"module": "src/eslint/eslint.config.solid.js",
|
|
5020
|
+
"sampleFile": "src/examples/example.solid.tsx",
|
|
5021
|
+
"ruleCount": 1133,
|
|
5022
|
+
"rules": {
|
|
5023
|
+
"@babel/object-curly-spacing": "off",
|
|
5024
|
+
"@babel/semi": "off",
|
|
5025
|
+
"@stylistic/array-bracket-newline": "off",
|
|
5026
|
+
"@stylistic/array-bracket-spacing": [
|
|
5027
|
+
"off",
|
|
5028
|
+
"never"
|
|
5029
|
+
],
|
|
5030
|
+
"@stylistic/array-element-newline": "off",
|
|
5031
|
+
"@stylistic/arrow-parens": [
|
|
5032
|
+
"off",
|
|
5033
|
+
"always"
|
|
5034
|
+
],
|
|
5035
|
+
"@stylistic/arrow-spacing": [
|
|
5036
|
+
"off",
|
|
5037
|
+
{
|
|
5038
|
+
"before": true,
|
|
5039
|
+
"after": true
|
|
5040
|
+
}
|
|
5041
|
+
],
|
|
5042
|
+
"@stylistic/block-spacing": [
|
|
5043
|
+
"off",
|
|
5044
|
+
"always"
|
|
5045
|
+
],
|
|
5046
|
+
"@stylistic/brace-style": [
|
|
5047
|
+
"off",
|
|
5048
|
+
"1tbs",
|
|
5049
|
+
{
|
|
5050
|
+
"allowSingleLine": false
|
|
5051
|
+
}
|
|
5052
|
+
],
|
|
5053
|
+
"@stylistic/comma-dangle": [
|
|
5054
|
+
"off",
|
|
5055
|
+
"never"
|
|
5056
|
+
],
|
|
5057
|
+
"@stylistic/comma-spacing": [
|
|
5058
|
+
"off",
|
|
5059
|
+
{
|
|
5060
|
+
"before": false,
|
|
5061
|
+
"after": true
|
|
5062
|
+
}
|
|
5063
|
+
],
|
|
5064
|
+
"@stylistic/comma-style": [
|
|
5065
|
+
"off",
|
|
5066
|
+
"last"
|
|
5067
|
+
],
|
|
5068
|
+
"@stylistic/computed-property-spacing": [
|
|
5069
|
+
"off",
|
|
5070
|
+
"never",
|
|
5071
|
+
{
|
|
5072
|
+
"enforceForClassMembers": true
|
|
5073
|
+
}
|
|
5074
|
+
],
|
|
5075
|
+
"@stylistic/dot-location": [
|
|
5076
|
+
"off",
|
|
5077
|
+
"object"
|
|
5078
|
+
],
|
|
5079
|
+
"@stylistic/eol-last": [
|
|
5080
|
+
"off",
|
|
5081
|
+
"always"
|
|
5082
|
+
],
|
|
5083
|
+
"@stylistic/func-call-spacing": "off",
|
|
5084
|
+
"@stylistic/function-call-argument-newline": [
|
|
5085
|
+
"off",
|
|
5086
|
+
"always"
|
|
5087
|
+
],
|
|
5088
|
+
"@stylistic/function-call-spacing": [
|
|
5089
|
+
"off",
|
|
5090
|
+
"never"
|
|
5091
|
+
],
|
|
5092
|
+
"@stylistic/function-paren-newline": [
|
|
5093
|
+
"off",
|
|
5094
|
+
"multiline"
|
|
5095
|
+
],
|
|
5096
|
+
"@stylistic/generator-star-spacing": [
|
|
5097
|
+
"off",
|
|
5098
|
+
{
|
|
5099
|
+
"before": true,
|
|
5100
|
+
"after": false
|
|
5101
|
+
}
|
|
5102
|
+
],
|
|
5103
|
+
"@stylistic/implicit-arrow-linebreak": [
|
|
5104
|
+
"off",
|
|
5105
|
+
"beside"
|
|
5106
|
+
],
|
|
5107
|
+
"@stylistic/indent": [
|
|
5108
|
+
"off",
|
|
5109
|
+
4,
|
|
5110
|
+
{
|
|
5111
|
+
"SwitchCase": 1,
|
|
5112
|
+
"flatTernaryExpressions": false,
|
|
5113
|
+
"ignoredNodes": []
|
|
5114
|
+
}
|
|
5115
|
+
],
|
|
5116
|
+
"@stylistic/indent-binary-ops": [
|
|
5117
|
+
"off",
|
|
5118
|
+
2
|
|
5119
|
+
],
|
|
5120
|
+
"@stylistic/js/array-bracket-newline": "off",
|
|
5121
|
+
"@stylistic/js/array-bracket-spacing": "off",
|
|
5122
|
+
"@stylistic/js/array-element-newline": "off",
|
|
5123
|
+
"@stylistic/js/arrow-parens": "off",
|
|
5124
|
+
"@stylistic/js/arrow-spacing": "off",
|
|
5125
|
+
"@stylistic/js/block-spacing": "off",
|
|
5126
|
+
"@stylistic/js/brace-style": "off",
|
|
5127
|
+
"@stylistic/js/comma-dangle": "off",
|
|
5128
|
+
"@stylistic/js/comma-spacing": "off",
|
|
5129
|
+
"@stylistic/js/comma-style": "off",
|
|
5130
|
+
"@stylistic/js/computed-property-spacing": "off",
|
|
5131
|
+
"@stylistic/js/dot-location": "off",
|
|
5132
|
+
"@stylistic/js/eol-last": "off",
|
|
5133
|
+
"@stylistic/js/func-call-spacing": "off",
|
|
5134
|
+
"@stylistic/js/function-call-argument-newline": "off",
|
|
5135
|
+
"@stylistic/js/function-call-spacing": "off",
|
|
5136
|
+
"@stylistic/js/function-paren-newline": "off",
|
|
5137
|
+
"@stylistic/js/generator-star-spacing": "off",
|
|
5138
|
+
"@stylistic/js/implicit-arrow-linebreak": "off",
|
|
5139
|
+
"@stylistic/js/indent": "off",
|
|
5140
|
+
"@stylistic/js/jsx-quotes": "off",
|
|
5141
|
+
"@stylistic/js/key-spacing": "off",
|
|
5142
|
+
"@stylistic/js/keyword-spacing": "off",
|
|
5143
|
+
"@stylistic/js/linebreak-style": "off",
|
|
5144
|
+
"@stylistic/js/lines-around-comment": "off",
|
|
5145
|
+
"@stylistic/js/max-len": "off",
|
|
5146
|
+
"@stylistic/js/max-statements-per-line": "off",
|
|
5147
|
+
"@stylistic/js/multiline-ternary": "off",
|
|
5148
|
+
"@stylistic/js/new-parens": "off",
|
|
5149
|
+
"@stylistic/js/newline-per-chained-call": "off",
|
|
5150
|
+
"@stylistic/js/no-confusing-arrow": "off",
|
|
5151
|
+
"@stylistic/js/no-extra-parens": "off",
|
|
5152
|
+
"@stylistic/js/no-extra-semi": "off",
|
|
5153
|
+
"@stylistic/js/no-floating-decimal": "off",
|
|
5154
|
+
"@stylistic/js/no-mixed-operators": "off",
|
|
5155
|
+
"@stylistic/js/no-mixed-spaces-and-tabs": "off",
|
|
5156
|
+
"@stylistic/js/no-multi-spaces": "off",
|
|
5157
|
+
"@stylistic/js/no-multiple-empty-lines": "off",
|
|
5158
|
+
"@stylistic/js/no-tabs": "off",
|
|
5159
|
+
"@stylistic/js/no-trailing-spaces": "off",
|
|
5160
|
+
"@stylistic/js/no-whitespace-before-property": "off",
|
|
5161
|
+
"@stylistic/js/nonblock-statement-body-position": "off",
|
|
5162
|
+
"@stylistic/js/object-curly-newline": "off",
|
|
5163
|
+
"@stylistic/js/object-curly-spacing": "off",
|
|
5164
|
+
"@stylistic/js/object-property-newline": "off",
|
|
5165
|
+
"@stylistic/js/one-var-declaration-per-line": "off",
|
|
5166
|
+
"@stylistic/js/operator-linebreak": "off",
|
|
5167
|
+
"@stylistic/js/padded-blocks": "off",
|
|
5168
|
+
"@stylistic/js/quote-props": "off",
|
|
5169
|
+
"@stylistic/js/quotes": "off",
|
|
5170
|
+
"@stylistic/js/rest-spread-spacing": "off",
|
|
5171
|
+
"@stylistic/js/semi": "off",
|
|
5172
|
+
"@stylistic/js/semi-spacing": "off",
|
|
5173
|
+
"@stylistic/js/semi-style": "off",
|
|
5174
|
+
"@stylistic/js/space-before-blocks": "off",
|
|
5175
|
+
"@stylistic/js/space-before-function-paren": "off",
|
|
5176
|
+
"@stylistic/js/space-in-parens": "off",
|
|
5177
|
+
"@stylistic/js/space-infix-ops": "off",
|
|
5178
|
+
"@stylistic/js/space-unary-ops": "off",
|
|
5179
|
+
"@stylistic/js/switch-colon-spacing": "off",
|
|
5180
|
+
"@stylistic/js/template-curly-spacing": "off",
|
|
5181
|
+
"@stylistic/js/template-tag-spacing": "off",
|
|
5182
|
+
"@stylistic/js/wrap-iife": "off",
|
|
5183
|
+
"@stylistic/js/wrap-regex": "off",
|
|
5184
|
+
"@stylistic/js/yield-star-spacing": "off",
|
|
5185
|
+
"@stylistic/jsx-child-element-spacing": "off",
|
|
5186
|
+
"@stylistic/jsx-closing-bracket-location": [
|
|
5187
|
+
"error",
|
|
5188
|
+
"tag-aligned"
|
|
5189
|
+
],
|
|
5190
|
+
"@stylistic/jsx-closing-tag-location": [
|
|
5191
|
+
"error",
|
|
5192
|
+
"tag-aligned"
|
|
5193
|
+
],
|
|
5194
|
+
"@stylistic/jsx-curly-brace-presence": [
|
|
5195
|
+
"error",
|
|
5196
|
+
{
|
|
5197
|
+
"props": "never",
|
|
5198
|
+
"children": "never",
|
|
5199
|
+
"propElementValues": "ignore"
|
|
5200
|
+
}
|
|
5201
|
+
],
|
|
5202
|
+
"@stylistic/jsx-curly-newline": [
|
|
5203
|
+
"error",
|
|
5204
|
+
{
|
|
5205
|
+
"multiline": "consistent",
|
|
5206
|
+
"singleline": "forbid"
|
|
5207
|
+
}
|
|
5208
|
+
],
|
|
5209
|
+
"@stylistic/jsx-curly-spacing": [
|
|
5210
|
+
"error",
|
|
5211
|
+
{
|
|
5212
|
+
"when": "never",
|
|
5213
|
+
"allowMultiline": true,
|
|
5214
|
+
"attributes": {
|
|
5215
|
+
"allowMultiline": false
|
|
5216
|
+
},
|
|
5217
|
+
"children": false
|
|
5218
|
+
}
|
|
5219
|
+
],
|
|
5220
|
+
"@stylistic/jsx-equals-spacing": [
|
|
5221
|
+
"error",
|
|
5222
|
+
"never"
|
|
5223
|
+
],
|
|
5224
|
+
"@stylistic/jsx-first-prop-new-line": [
|
|
5225
|
+
"error",
|
|
5226
|
+
"multiline"
|
|
5227
|
+
],
|
|
5228
|
+
"@stylistic/jsx-indent": [
|
|
5229
|
+
"off",
|
|
5230
|
+
4
|
|
5231
|
+
],
|
|
5232
|
+
"@stylistic/jsx-indent-props": [
|
|
5233
|
+
"off",
|
|
5234
|
+
4
|
|
5235
|
+
],
|
|
5236
|
+
"@stylistic/jsx-max-props-per-line": [
|
|
5237
|
+
"error",
|
|
5238
|
+
{
|
|
5239
|
+
"maximum": 1,
|
|
5240
|
+
"when": "multiline"
|
|
5241
|
+
}
|
|
5242
|
+
],
|
|
5243
|
+
"@stylistic/jsx-newline": [
|
|
5244
|
+
"off",
|
|
5245
|
+
{
|
|
5246
|
+
"prevent": false,
|
|
5247
|
+
"allowMultilines": false
|
|
5248
|
+
}
|
|
5249
|
+
],
|
|
5250
|
+
"@stylistic/jsx-one-expression-per-line": [
|
|
5251
|
+
"off",
|
|
5252
|
+
{
|
|
5253
|
+
"allow": "none"
|
|
5254
|
+
}
|
|
5255
|
+
],
|
|
5256
|
+
"@stylistic/jsx-props-no-multi-spaces": "off",
|
|
5257
|
+
"@stylistic/jsx-quotes": [
|
|
5258
|
+
"off",
|
|
5259
|
+
"prefer-double"
|
|
5260
|
+
],
|
|
5261
|
+
"@stylistic/jsx-tag-spacing": [
|
|
5262
|
+
"error",
|
|
5263
|
+
{
|
|
5264
|
+
"closingSlash": "never",
|
|
5265
|
+
"beforeSelfClosing": "always",
|
|
5266
|
+
"afterOpening": "never",
|
|
5267
|
+
"beforeClosing": "allow"
|
|
5268
|
+
}
|
|
5269
|
+
],
|
|
5270
|
+
"@stylistic/jsx-wrap-multilines": [
|
|
5271
|
+
"off",
|
|
5272
|
+
{
|
|
5273
|
+
"declaration": "parens",
|
|
5274
|
+
"assignment": "parens",
|
|
5275
|
+
"return": "parens",
|
|
5276
|
+
"arrow": "parens",
|
|
5277
|
+
"condition": "ignore",
|
|
5278
|
+
"logical": "ignore",
|
|
5279
|
+
"prop": "ignore",
|
|
5280
|
+
"propertyValue": "ignore"
|
|
5281
|
+
}
|
|
5282
|
+
],
|
|
5283
|
+
"@stylistic/jsx/jsx-child-element-spacing": "off",
|
|
5284
|
+
"@stylistic/jsx/jsx-closing-bracket-location": "off",
|
|
5285
|
+
"@stylistic/jsx/jsx-closing-tag-location": "off",
|
|
5286
|
+
"@stylistic/jsx/jsx-curly-newline": "off",
|
|
5287
|
+
"@stylistic/jsx/jsx-curly-spacing": "off",
|
|
5288
|
+
"@stylistic/jsx/jsx-equals-spacing": "off",
|
|
5289
|
+
"@stylistic/jsx/jsx-first-prop-new-line": "off",
|
|
5290
|
+
"@stylistic/jsx/jsx-indent": "off",
|
|
5291
|
+
"@stylistic/jsx/jsx-indent-props": "off",
|
|
5292
|
+
"@stylistic/jsx/jsx-max-props-per-line": "off",
|
|
5293
|
+
"@stylistic/key-spacing": [
|
|
5294
|
+
"off",
|
|
5295
|
+
{}
|
|
5296
|
+
],
|
|
5297
|
+
"@stylistic/keyword-spacing": [
|
|
5298
|
+
"off",
|
|
5299
|
+
{
|
|
5300
|
+
"before": true,
|
|
5301
|
+
"after": true,
|
|
5302
|
+
"overrides": {}
|
|
5303
|
+
}
|
|
5304
|
+
],
|
|
5305
|
+
"@stylistic/linebreak-style": [
|
|
5306
|
+
"off",
|
|
5307
|
+
"unix"
|
|
5308
|
+
],
|
|
5309
|
+
"@stylistic/lines-around-comment": [
|
|
5310
|
+
"off",
|
|
5311
|
+
{
|
|
5312
|
+
"beforeBlockComment": true
|
|
5313
|
+
}
|
|
5314
|
+
],
|
|
5315
|
+
"@stylistic/lines-between-class-members": [
|
|
5316
|
+
"error",
|
|
5317
|
+
"always",
|
|
5318
|
+
{
|
|
5319
|
+
"exceptAfterOverload": true,
|
|
5320
|
+
"exceptAfterSingleLine": true
|
|
5321
|
+
}
|
|
5322
|
+
],
|
|
5323
|
+
"@stylistic/max-len": [
|
|
5324
|
+
"off",
|
|
5325
|
+
{
|
|
5326
|
+
"code": 120,
|
|
5327
|
+
"tabWidth": 2,
|
|
5328
|
+
"ignoreComments": true,
|
|
5329
|
+
"ignoreRegExpLiterals": true,
|
|
5330
|
+
"ignoreStrings": true,
|
|
5331
|
+
"ignoreTrailingComments": true
|
|
5332
|
+
}
|
|
5333
|
+
],
|
|
5334
|
+
"@stylistic/max-statements-per-line": [
|
|
5335
|
+
"off",
|
|
5336
|
+
{
|
|
5337
|
+
"max": 1
|
|
5338
|
+
}
|
|
5339
|
+
],
|
|
5340
|
+
"@stylistic/member-delimiter-style": [
|
|
5341
|
+
"off",
|
|
5342
|
+
{
|
|
5343
|
+
"multiline": {
|
|
5344
|
+
"delimiter": "semi",
|
|
5345
|
+
"requireLast": true
|
|
5346
|
+
},
|
|
5347
|
+
"singleline": {
|
|
5348
|
+
"delimiter": "semi",
|
|
5349
|
+
"requireLast": false
|
|
5350
|
+
},
|
|
5351
|
+
"multilineDetection": "brackets"
|
|
5352
|
+
}
|
|
5353
|
+
],
|
|
5354
|
+
"@stylistic/multiline-comment-style": [
|
|
5355
|
+
"off",
|
|
5356
|
+
"starred-block"
|
|
5357
|
+
],
|
|
5358
|
+
"@stylistic/multiline-ternary": [
|
|
5359
|
+
"off",
|
|
5360
|
+
"always"
|
|
5361
|
+
],
|
|
5362
|
+
"@stylistic/new-parens": [
|
|
5363
|
+
"off",
|
|
5364
|
+
"always"
|
|
5365
|
+
],
|
|
5366
|
+
"@stylistic/newline-per-chained-call": [
|
|
5367
|
+
"off",
|
|
5368
|
+
{
|
|
5369
|
+
"ignoreChainWithDepth": 2
|
|
5370
|
+
}
|
|
5371
|
+
],
|
|
5372
|
+
"@stylistic/no-confusing-arrow": [
|
|
5373
|
+
"off",
|
|
5374
|
+
{
|
|
5375
|
+
"allowParens": true,
|
|
5376
|
+
"onlyOneSimpleParam": false
|
|
5377
|
+
}
|
|
5378
|
+
],
|
|
5379
|
+
"@stylistic/no-extra-parens": [
|
|
5380
|
+
"off",
|
|
5381
|
+
"all"
|
|
5382
|
+
],
|
|
5383
|
+
"@stylistic/no-extra-semi": "off",
|
|
5384
|
+
"@stylistic/no-floating-decimal": "off",
|
|
5385
|
+
"@stylistic/no-mixed-operators": [
|
|
5386
|
+
"off",
|
|
5387
|
+
{
|
|
5388
|
+
"groups": [
|
|
5389
|
+
[
|
|
5390
|
+
"+",
|
|
5391
|
+
"-",
|
|
5392
|
+
"*",
|
|
5393
|
+
"/",
|
|
5394
|
+
"%",
|
|
5395
|
+
"**"
|
|
5396
|
+
],
|
|
5397
|
+
[
|
|
5398
|
+
"&",
|
|
5399
|
+
"|",
|
|
5400
|
+
"^",
|
|
5401
|
+
"~",
|
|
5402
|
+
"<<",
|
|
5403
|
+
">>",
|
|
5404
|
+
">>>"
|
|
5405
|
+
],
|
|
5406
|
+
[
|
|
5407
|
+
"==",
|
|
5408
|
+
"!=",
|
|
5409
|
+
"===",
|
|
5410
|
+
"!==",
|
|
5411
|
+
">",
|
|
5412
|
+
">=",
|
|
5413
|
+
"<",
|
|
5414
|
+
"<="
|
|
5415
|
+
],
|
|
5416
|
+
[
|
|
5417
|
+
"&&",
|
|
5418
|
+
"||"
|
|
5419
|
+
],
|
|
5420
|
+
[
|
|
5421
|
+
"in",
|
|
5422
|
+
"instanceof"
|
|
5423
|
+
]
|
|
5424
|
+
],
|
|
5425
|
+
"allowSamePrecedence": true
|
|
5426
|
+
}
|
|
5427
|
+
],
|
|
5428
|
+
"@stylistic/no-mixed-spaces-and-tabs": [
|
|
5429
|
+
"off",
|
|
5430
|
+
false
|
|
5431
|
+
],
|
|
5432
|
+
"@stylistic/no-multi-spaces": [
|
|
5433
|
+
"error",
|
|
5434
|
+
{
|
|
5435
|
+
"exceptions": {
|
|
5436
|
+
"Property": true,
|
|
5437
|
+
"ImportAttribute": true
|
|
5438
|
+
},
|
|
5439
|
+
"ignoreEOLComments": false,
|
|
5440
|
+
"includeTabs": true
|
|
5441
|
+
}
|
|
5442
|
+
],
|
|
5443
|
+
"@stylistic/no-multiple-empty-lines": [
|
|
5444
|
+
"off",
|
|
5445
|
+
{
|
|
5446
|
+
"max": 2
|
|
5447
|
+
}
|
|
5448
|
+
],
|
|
5449
|
+
"@stylistic/no-tabs": [
|
|
5450
|
+
"off",
|
|
5451
|
+
{
|
|
5452
|
+
"allowIndentationTabs": false
|
|
5453
|
+
}
|
|
5454
|
+
],
|
|
5455
|
+
"@stylistic/no-trailing-spaces": [
|
|
5456
|
+
"off",
|
|
5457
|
+
{
|
|
5458
|
+
"skipBlankLines": false,
|
|
5459
|
+
"ignoreComments": false
|
|
5460
|
+
}
|
|
5461
|
+
],
|
|
5462
|
+
"@stylistic/no-whitespace-before-property": "off",
|
|
5463
|
+
"@stylistic/nonblock-statement-body-position": [
|
|
5464
|
+
"off",
|
|
5465
|
+
"beside"
|
|
5466
|
+
],
|
|
5467
|
+
"@stylistic/object-curly-newline": "off",
|
|
5468
|
+
"@stylistic/object-curly-spacing": [
|
|
5469
|
+
"off",
|
|
5470
|
+
"always",
|
|
5471
|
+
{
|
|
5472
|
+
"objectsInObjects": true
|
|
5473
|
+
}
|
|
5474
|
+
],
|
|
5475
|
+
"@stylistic/object-property-newline": [
|
|
5476
|
+
"off",
|
|
5477
|
+
{
|
|
5478
|
+
"allowAllPropertiesOnSameLine": false
|
|
5479
|
+
}
|
|
5480
|
+
],
|
|
5481
|
+
"@stylistic/one-var-declaration-per-line": [
|
|
5482
|
+
"off",
|
|
5483
|
+
"initializations"
|
|
5484
|
+
],
|
|
5485
|
+
"@stylistic/operator-linebreak": "off",
|
|
5486
|
+
"@stylistic/padded-blocks": [
|
|
5487
|
+
"off",
|
|
5488
|
+
"always",
|
|
5489
|
+
{
|
|
5490
|
+
"allowSingleLineBlocks": false
|
|
5491
|
+
}
|
|
5492
|
+
],
|
|
5493
|
+
"@stylistic/padding-line-between-statements": [
|
|
5494
|
+
"error",
|
|
5495
|
+
{
|
|
5496
|
+
"blankLine": "always",
|
|
5497
|
+
"prev": "*",
|
|
5498
|
+
"next": "if"
|
|
5499
|
+
},
|
|
5500
|
+
{
|
|
5501
|
+
"blankLine": "always",
|
|
5502
|
+
"prev": "if",
|
|
5503
|
+
"next": "if"
|
|
5504
|
+
},
|
|
5505
|
+
{
|
|
5506
|
+
"blankLine": "always",
|
|
5507
|
+
"prev": [
|
|
5508
|
+
"const",
|
|
5509
|
+
"let"
|
|
5510
|
+
],
|
|
5511
|
+
"next": "*"
|
|
5512
|
+
},
|
|
5513
|
+
{
|
|
5514
|
+
"blankLine": "any",
|
|
5515
|
+
"prev": [
|
|
5516
|
+
"const",
|
|
5517
|
+
"let"
|
|
5518
|
+
],
|
|
5519
|
+
"next": [
|
|
5520
|
+
"const",
|
|
5521
|
+
"let"
|
|
5522
|
+
]
|
|
5523
|
+
},
|
|
5524
|
+
{
|
|
5525
|
+
"blankLine": "always",
|
|
5526
|
+
"prev": "*",
|
|
5527
|
+
"next": "return"
|
|
5528
|
+
},
|
|
5529
|
+
{
|
|
5530
|
+
"blankLine": "always",
|
|
5531
|
+
"prev": "*",
|
|
5532
|
+
"next": "case"
|
|
5533
|
+
},
|
|
5534
|
+
{
|
|
5535
|
+
"blankLine": "always",
|
|
5536
|
+
"prev": "if",
|
|
5537
|
+
"next": "*"
|
|
5538
|
+
}
|
|
5539
|
+
],
|
|
5540
|
+
"@stylistic/quote-props": [
|
|
5541
|
+
"off",
|
|
5542
|
+
"always"
|
|
5543
|
+
],
|
|
5544
|
+
"@stylistic/quotes": [
|
|
5545
|
+
"off",
|
|
5546
|
+
"single",
|
|
5547
|
+
{
|
|
5548
|
+
"allowTemplateLiterals": "never",
|
|
5549
|
+
"avoidEscape": true,
|
|
5550
|
+
"ignoreStringLiterals": false
|
|
5551
|
+
}
|
|
5552
|
+
],
|
|
5553
|
+
"@stylistic/rest-spread-spacing": [
|
|
5554
|
+
"off",
|
|
5555
|
+
"never"
|
|
5556
|
+
],
|
|
5557
|
+
"@stylistic/semi": [
|
|
5558
|
+
"off",
|
|
5559
|
+
"always"
|
|
5560
|
+
],
|
|
5561
|
+
"@stylistic/semi-spacing": [
|
|
5562
|
+
"off",
|
|
5563
|
+
{
|
|
5564
|
+
"before": false,
|
|
5565
|
+
"after": true
|
|
5566
|
+
}
|
|
5567
|
+
],
|
|
5568
|
+
"@stylistic/semi-style": [
|
|
5569
|
+
"off",
|
|
5570
|
+
"last"
|
|
5571
|
+
],
|
|
5572
|
+
"@stylistic/space-before-blocks": [
|
|
5573
|
+
"off",
|
|
5574
|
+
"always"
|
|
5575
|
+
],
|
|
5576
|
+
"@stylistic/space-before-function-paren": [
|
|
5577
|
+
"off",
|
|
5578
|
+
"always"
|
|
5579
|
+
],
|
|
5580
|
+
"@stylistic/space-in-parens": [
|
|
5581
|
+
"off",
|
|
5582
|
+
"never"
|
|
5583
|
+
],
|
|
5584
|
+
"@stylistic/space-infix-ops": [
|
|
5585
|
+
"off",
|
|
5586
|
+
{
|
|
5587
|
+
"int32Hint": false,
|
|
5588
|
+
"ignoreTypes": false
|
|
5589
|
+
}
|
|
5590
|
+
],
|
|
5591
|
+
"@stylistic/space-unary-ops": [
|
|
5592
|
+
"off",
|
|
5593
|
+
{
|
|
5594
|
+
"words": true,
|
|
5595
|
+
"nonwords": false
|
|
5596
|
+
}
|
|
5597
|
+
],
|
|
5598
|
+
"@stylistic/spaced-comment": [
|
|
5599
|
+
"error",
|
|
5600
|
+
"always"
|
|
5601
|
+
],
|
|
5602
|
+
"@stylistic/switch-colon-spacing": [
|
|
5603
|
+
"off",
|
|
5604
|
+
{
|
|
5605
|
+
"before": false,
|
|
5606
|
+
"after": true
|
|
5607
|
+
}
|
|
5608
|
+
],
|
|
5609
|
+
"@stylistic/template-curly-spacing": [
|
|
5610
|
+
"off",
|
|
5611
|
+
"never"
|
|
5612
|
+
],
|
|
5613
|
+
"@stylistic/template-tag-spacing": [
|
|
5614
|
+
"off",
|
|
5615
|
+
"never"
|
|
5616
|
+
],
|
|
5617
|
+
"@stylistic/ts/block-spacing": "off",
|
|
5618
|
+
"@stylistic/ts/brace-style": "off",
|
|
5619
|
+
"@stylistic/ts/comma-dangle": "off",
|
|
5620
|
+
"@stylistic/ts/comma-spacing": "off",
|
|
5621
|
+
"@stylistic/ts/func-call-spacing": "off",
|
|
5622
|
+
"@stylistic/ts/function-call-spacing": "off",
|
|
5623
|
+
"@stylistic/ts/indent": "off",
|
|
5624
|
+
"@stylistic/ts/key-spacing": "off",
|
|
5625
|
+
"@stylistic/ts/keyword-spacing": "off",
|
|
5626
|
+
"@stylistic/ts/lines-around-comment": "off",
|
|
5627
|
+
"@stylistic/ts/member-delimiter-style": "off",
|
|
5628
|
+
"@stylistic/ts/no-extra-parens": "off",
|
|
5629
|
+
"@stylistic/ts/no-extra-semi": "off",
|
|
5630
|
+
"@stylistic/ts/object-curly-spacing": "off",
|
|
5631
|
+
"@stylistic/ts/quotes": "off",
|
|
5632
|
+
"@stylistic/ts/semi": "off",
|
|
5633
|
+
"@stylistic/ts/space-before-blocks": "off",
|
|
5634
|
+
"@stylistic/ts/space-before-function-paren": "off",
|
|
5635
|
+
"@stylistic/ts/space-infix-ops": "off",
|
|
5636
|
+
"@stylistic/ts/type-annotation-spacing": "off",
|
|
5637
|
+
"@stylistic/type-annotation-spacing": [
|
|
5638
|
+
"off",
|
|
5639
|
+
{}
|
|
5640
|
+
],
|
|
5641
|
+
"@stylistic/type-generic-spacing": "off",
|
|
5642
|
+
"@stylistic/type-named-tuple-spacing": "off",
|
|
5643
|
+
"@stylistic/wrap-iife": [
|
|
5644
|
+
"off",
|
|
5645
|
+
"outside",
|
|
5646
|
+
{
|
|
5647
|
+
"functionPrototypeMethods": false
|
|
5648
|
+
}
|
|
5649
|
+
],
|
|
5650
|
+
"@stylistic/wrap-regex": "off",
|
|
5651
|
+
"@stylistic/yield-star-spacing": [
|
|
5652
|
+
"off",
|
|
5653
|
+
"after"
|
|
5654
|
+
],
|
|
5655
|
+
"@typescript-eslint/adjacent-overload-signatures": "error",
|
|
5656
|
+
"@typescript-eslint/array-type": "error",
|
|
5657
|
+
"@typescript-eslint/ban-ts-comment": [
|
|
5658
|
+
"error",
|
|
5659
|
+
{
|
|
5660
|
+
"ts-expect-error": "allow-with-description",
|
|
5661
|
+
"ts-ignore": "allow-with-description"
|
|
5662
|
+
}
|
|
5663
|
+
],
|
|
5664
|
+
"@typescript-eslint/ban-tslint-comment": "error",
|
|
5665
|
+
"@typescript-eslint/block-spacing": "off",
|
|
5666
|
+
"@typescript-eslint/brace-style": "off",
|
|
5667
|
+
"@typescript-eslint/class-literal-property-style": "error",
|
|
5668
|
+
"@typescript-eslint/comma-dangle": "off",
|
|
5669
|
+
"@typescript-eslint/comma-spacing": "off",
|
|
5670
|
+
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
5671
|
+
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
5672
|
+
"@typescript-eslint/consistent-type-assertions": "error",
|
|
5673
|
+
"@typescript-eslint/consistent-type-definitions": [
|
|
5674
|
+
"error",
|
|
5675
|
+
"type"
|
|
5676
|
+
],
|
|
5677
|
+
"@typescript-eslint/consistent-type-imports": [
|
|
5678
|
+
"error",
|
|
5679
|
+
{
|
|
5680
|
+
"fixStyle": "inline-type-imports"
|
|
5681
|
+
}
|
|
5682
|
+
],
|
|
5683
|
+
"@typescript-eslint/func-call-spacing": "off",
|
|
5684
|
+
"@typescript-eslint/indent": "off",
|
|
5685
|
+
"@typescript-eslint/key-spacing": "off",
|
|
5686
|
+
"@typescript-eslint/keyword-spacing": "off",
|
|
5687
|
+
"@typescript-eslint/lines-around-comment": "off",
|
|
5688
|
+
"@typescript-eslint/member-delimiter-style": "off",
|
|
5689
|
+
"@typescript-eslint/no-array-constructor": "error",
|
|
5690
|
+
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
5691
|
+
"@typescript-eslint/no-duplicate-enum-values": "error",
|
|
5692
|
+
"@typescript-eslint/no-empty-function": [
|
|
5693
|
+
"error",
|
|
5694
|
+
{
|
|
5695
|
+
"allow": []
|
|
5696
|
+
}
|
|
5697
|
+
],
|
|
5698
|
+
"@typescript-eslint/no-empty-object-type": "error",
|
|
5699
|
+
"@typescript-eslint/no-explicit-any": "error",
|
|
5700
|
+
"@typescript-eslint/no-extra-non-null-assertion": "error",
|
|
5701
|
+
"@typescript-eslint/no-extra-parens": "off",
|
|
5702
|
+
"@typescript-eslint/no-extra-semi": "off",
|
|
5703
|
+
"@typescript-eslint/no-inferrable-types": "error",
|
|
5704
|
+
"@typescript-eslint/no-misused-new": "error",
|
|
5705
|
+
"@typescript-eslint/no-namespace": "error",
|
|
5706
|
+
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
|
|
5707
|
+
"@typescript-eslint/no-require-imports": "error",
|
|
5708
|
+
"@typescript-eslint/no-shadow": [
|
|
5709
|
+
"error",
|
|
5710
|
+
{
|
|
5711
|
+
"ignoreTypeValueShadow": true
|
|
5712
|
+
}
|
|
5713
|
+
],
|
|
5714
|
+
"@typescript-eslint/no-this-alias": "error",
|
|
5715
|
+
"@typescript-eslint/no-unnecessary-type-constraint": "error",
|
|
5716
|
+
"@typescript-eslint/no-unsafe-declaration-merging": "error",
|
|
5717
|
+
"@typescript-eslint/no-unsafe-function-type": "error",
|
|
5718
|
+
"@typescript-eslint/no-unused-expressions": [
|
|
5719
|
+
"error",
|
|
5720
|
+
{
|
|
5721
|
+
"allowShortCircuit": false,
|
|
5722
|
+
"allowTaggedTemplates": false,
|
|
5723
|
+
"allowTernary": false
|
|
5724
|
+
}
|
|
5725
|
+
],
|
|
5726
|
+
"@typescript-eslint/no-unused-vars": [
|
|
5727
|
+
"error",
|
|
5728
|
+
{
|
|
5729
|
+
"ignoreRestSiblings": true
|
|
5730
|
+
}
|
|
5731
|
+
],
|
|
5732
|
+
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
5733
|
+
"@typescript-eslint/object-curly-spacing": "off",
|
|
5734
|
+
"@typescript-eslint/prefer-as-const": "error",
|
|
5735
|
+
"@typescript-eslint/prefer-for-of": "error",
|
|
5736
|
+
"@typescript-eslint/prefer-function-type": "error",
|
|
5737
|
+
"@typescript-eslint/prefer-namespace-keyword": "error",
|
|
5738
|
+
"@typescript-eslint/quotes": "off",
|
|
5739
|
+
"@typescript-eslint/semi": "off",
|
|
5740
|
+
"@typescript-eslint/space-before-blocks": "off",
|
|
5741
|
+
"@typescript-eslint/space-before-function-paren": "off",
|
|
5742
|
+
"@typescript-eslint/space-infix-ops": "off",
|
|
5743
|
+
"@typescript-eslint/switch-exhaustiveness-check": "error",
|
|
5744
|
+
"@typescript-eslint/triple-slash-reference": "error",
|
|
5745
|
+
"@typescript-eslint/type-annotation-spacing": "off",
|
|
5746
|
+
"array-bracket-newline": "off",
|
|
5747
|
+
"array-bracket-spacing": "off",
|
|
5748
|
+
"array-element-newline": "off",
|
|
5749
|
+
"arrow-body-style": [
|
|
5750
|
+
"error",
|
|
5751
|
+
"as-needed"
|
|
5752
|
+
],
|
|
5753
|
+
"arrow-parens": "off",
|
|
5754
|
+
"arrow-spacing": "off",
|
|
5755
|
+
"babel/object-curly-spacing": "off",
|
|
5756
|
+
"babel/quotes": "off",
|
|
5757
|
+
"babel/semi": "off",
|
|
5758
|
+
"block-spacing": "off",
|
|
5759
|
+
"brace-style": "off",
|
|
5760
|
+
"camelcase": [
|
|
5761
|
+
"error",
|
|
5762
|
+
{
|
|
5763
|
+
"allow": [],
|
|
5764
|
+
"ignoreDestructuring": false,
|
|
5765
|
+
"ignoreGlobals": false,
|
|
5766
|
+
"ignoreImports": false,
|
|
5767
|
+
"properties": "always"
|
|
5768
|
+
}
|
|
5769
|
+
],
|
|
5770
|
+
"class-methods-use-this": [
|
|
5771
|
+
"off",
|
|
5772
|
+
{
|
|
5773
|
+
"enforceForClassFields": true,
|
|
5774
|
+
"exceptMethods": [],
|
|
5775
|
+
"ignoreOverrideMethods": false
|
|
5776
|
+
}
|
|
5777
|
+
],
|
|
5778
|
+
"comma-dangle": "off",
|
|
5779
|
+
"comma-spacing": "off",
|
|
5780
|
+
"comma-style": "off",
|
|
5781
|
+
"computed-property-spacing": "off",
|
|
5782
|
+
"constructor-super": "off",
|
|
5783
|
+
"curly": [
|
|
5784
|
+
"off",
|
|
5785
|
+
"all"
|
|
5786
|
+
],
|
|
5787
|
+
"dot-location": "off",
|
|
5788
|
+
"eol-last": "off",
|
|
5789
|
+
"flowtype/boolean-style": "off",
|
|
5790
|
+
"flowtype/delimiter-dangle": "off",
|
|
5791
|
+
"flowtype/generic-spacing": "off",
|
|
5792
|
+
"flowtype/object-type-curly-spacing": "off",
|
|
5793
|
+
"flowtype/object-type-delimiter": "off",
|
|
5794
|
+
"flowtype/quotes": "off",
|
|
5795
|
+
"flowtype/semi": "off",
|
|
5796
|
+
"flowtype/space-after-type-colon": "off",
|
|
5797
|
+
"flowtype/space-before-generic-bracket": "off",
|
|
5798
|
+
"flowtype/space-before-type-colon": "off",
|
|
5799
|
+
"flowtype/union-intersection-spacing": "off",
|
|
5800
|
+
"for-direction": "error",
|
|
5801
|
+
"func-call-spacing": "off",
|
|
5802
|
+
"function-call-argument-newline": "off",
|
|
5803
|
+
"function-paren-newline": "off",
|
|
5804
|
+
"generator-star": "off",
|
|
5805
|
+
"generator-star-spacing": "off",
|
|
5806
|
+
"getter-return": [
|
|
5807
|
+
"off",
|
|
5808
|
+
{
|
|
5809
|
+
"allowImplicit": false
|
|
5810
|
+
}
|
|
5811
|
+
],
|
|
5812
|
+
"implicit-arrow-linebreak": "off",
|
|
5813
|
+
"import-x/default": "error",
|
|
5814
|
+
"import-x/export": "error",
|
|
5815
|
+
"import-x/extensions": [
|
|
5816
|
+
"error",
|
|
5817
|
+
"never",
|
|
5818
|
+
{
|
|
5819
|
+
"js": "never",
|
|
5820
|
+
"json": "ignorePackages"
|
|
5821
|
+
}
|
|
5822
|
+
],
|
|
5823
|
+
"import-x/named": "off",
|
|
5824
|
+
"import-x/namespace": "error",
|
|
5825
|
+
"import-x/newline-after-import": "error",
|
|
5826
|
+
"import-x/no-duplicates": [
|
|
5827
|
+
"error",
|
|
5828
|
+
{
|
|
5829
|
+
"considerQueryString": true
|
|
5830
|
+
}
|
|
5831
|
+
],
|
|
5832
|
+
"import-x/no-named-as-default": "warn",
|
|
5833
|
+
"import-x/no-named-as-default-member": "warn",
|
|
5834
|
+
"import-x/no-unresolved": [
|
|
5835
|
+
"error",
|
|
5836
|
+
{
|
|
5837
|
+
"caseSensitive": true
|
|
5838
|
+
}
|
|
5839
|
+
],
|
|
5840
|
+
"import-x/order": [
|
|
5841
|
+
"error",
|
|
5842
|
+
{
|
|
5843
|
+
"newlines-between": "always",
|
|
5844
|
+
"groups": [
|
|
5845
|
+
[
|
|
5846
|
+
"builtin",
|
|
5847
|
+
"external"
|
|
5848
|
+
],
|
|
5849
|
+
[
|
|
5850
|
+
"internal"
|
|
5851
|
+
],
|
|
5852
|
+
[
|
|
5853
|
+
"parent"
|
|
5854
|
+
],
|
|
5855
|
+
[
|
|
5856
|
+
"sibling",
|
|
5857
|
+
"index",
|
|
5858
|
+
"object"
|
|
5859
|
+
],
|
|
5860
|
+
[
|
|
5861
|
+
"type"
|
|
5862
|
+
]
|
|
5863
|
+
],
|
|
5864
|
+
"pathGroups": [
|
|
5865
|
+
{
|
|
5866
|
+
"pattern": "@/**",
|
|
5867
|
+
"group": "external",
|
|
5868
|
+
"position": "after"
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
"alphabetize": {
|
|
5872
|
+
"order": "asc",
|
|
5873
|
+
"caseInsensitive": false,
|
|
5874
|
+
"orderImportKind": "ignore"
|
|
5875
|
+
},
|
|
5876
|
+
"distinctGroup": true,
|
|
5877
|
+
"sortTypesGroup": false,
|
|
5878
|
+
"named": false,
|
|
5879
|
+
"warnOnUnassignedImports": false
|
|
5880
|
+
}
|
|
5881
|
+
],
|
|
5882
|
+
"import-x/prefer-default-export": "off",
|
|
5883
|
+
"indent": "off",
|
|
5884
|
+
"indent-legacy": "off",
|
|
5885
|
+
"jsx-quotes": "off",
|
|
5886
|
+
"key-spacing": "off",
|
|
5887
|
+
"keyword-spacing": "off",
|
|
5888
|
+
"linebreak-style": "off",
|
|
5889
|
+
"lines-around-comment": "off",
|
|
5890
|
+
"logical-assignment-operators": [
|
|
5891
|
+
"off",
|
|
5892
|
+
"always"
|
|
5893
|
+
],
|
|
5894
|
+
"max-len": "off",
|
|
5895
|
+
"max-statements-per-line": "off",
|
|
5896
|
+
"multiline-ternary": "off",
|
|
5897
|
+
"new-parens": "off",
|
|
5898
|
+
"newline-before-return": "error",
|
|
5899
|
+
"newline-per-chained-call": "off",
|
|
5900
|
+
"no-array-constructor": "off",
|
|
5901
|
+
"no-arrow-condition": "off",
|
|
5902
|
+
"no-async-promise-executor": "error",
|
|
5903
|
+
"no-case-declarations": "error",
|
|
5904
|
+
"no-class-assign": "off",
|
|
5905
|
+
"no-comma-dangle": "off",
|
|
5906
|
+
"no-compare-neg-zero": "error",
|
|
5907
|
+
"no-cond-assign": [
|
|
5908
|
+
"error",
|
|
5909
|
+
"except-parens"
|
|
5910
|
+
],
|
|
5911
|
+
"no-confusing-arrow": "off",
|
|
5912
|
+
"no-console": [
|
|
5913
|
+
"warn",
|
|
5914
|
+
{}
|
|
5915
|
+
],
|
|
5916
|
+
"no-const-assign": "off",
|
|
5917
|
+
"no-constant-binary-expression": [
|
|
5918
|
+
"error",
|
|
5919
|
+
{
|
|
5920
|
+
"checkRelationalComparisons": false
|
|
5921
|
+
}
|
|
5922
|
+
],
|
|
5923
|
+
"no-constant-condition": [
|
|
5924
|
+
"error",
|
|
5925
|
+
{
|
|
5926
|
+
"checkLoops": "allExceptWhileTrue"
|
|
5927
|
+
}
|
|
5928
|
+
],
|
|
5929
|
+
"no-control-regex": "error",
|
|
5930
|
+
"no-debugger": "warn",
|
|
5931
|
+
"no-delete-var": "error",
|
|
5932
|
+
"no-dupe-args": "off",
|
|
5933
|
+
"no-dupe-class-members": "off",
|
|
5934
|
+
"no-dupe-else-if": "error",
|
|
5935
|
+
"no-dupe-keys": "off",
|
|
5936
|
+
"no-duplicate-case": "error",
|
|
5937
|
+
"no-empty": [
|
|
5938
|
+
"error",
|
|
5939
|
+
{
|
|
5940
|
+
"allowEmptyCatch": false
|
|
5941
|
+
}
|
|
5942
|
+
],
|
|
5943
|
+
"no-empty-character-class": "error",
|
|
5944
|
+
"no-empty-function": [
|
|
5945
|
+
"off",
|
|
5946
|
+
{
|
|
5947
|
+
"allow": []
|
|
5948
|
+
}
|
|
5949
|
+
],
|
|
5950
|
+
"no-empty-pattern": [
|
|
5951
|
+
"error",
|
|
5952
|
+
{
|
|
5953
|
+
"allowObjectPatternsAsParameters": false
|
|
5954
|
+
}
|
|
5955
|
+
],
|
|
5956
|
+
"no-empty-static-block": "error",
|
|
5957
|
+
"no-ex-assign": "error",
|
|
5958
|
+
"no-extra-boolean-cast": [
|
|
5959
|
+
"error",
|
|
5960
|
+
{}
|
|
5961
|
+
],
|
|
5962
|
+
"no-extra-parens": "off",
|
|
5963
|
+
"no-extra-semi": "off",
|
|
5964
|
+
"no-fallthrough": [
|
|
5965
|
+
"error",
|
|
5966
|
+
{
|
|
5967
|
+
"allowEmptyCase": false,
|
|
5968
|
+
"reportUnusedFallthroughComment": false
|
|
5969
|
+
}
|
|
5970
|
+
],
|
|
5971
|
+
"no-floating-decimal": "off",
|
|
5972
|
+
"no-func-assign": "off",
|
|
5973
|
+
"no-global-assign": [
|
|
5974
|
+
"error",
|
|
5975
|
+
{
|
|
5976
|
+
"exceptions": []
|
|
5977
|
+
}
|
|
5978
|
+
],
|
|
5979
|
+
"no-import-assign": "off",
|
|
5980
|
+
"no-invalid-regexp": [
|
|
5981
|
+
"error",
|
|
5982
|
+
{}
|
|
5983
|
+
],
|
|
5984
|
+
"no-irregular-whitespace": [
|
|
5985
|
+
"error",
|
|
5986
|
+
{
|
|
5987
|
+
"skipComments": false,
|
|
5988
|
+
"skipJSXText": false,
|
|
5989
|
+
"skipRegExps": false,
|
|
5990
|
+
"skipStrings": true,
|
|
5991
|
+
"skipTemplates": false
|
|
5992
|
+
}
|
|
5993
|
+
],
|
|
5994
|
+
"no-loss-of-precision": "error",
|
|
5995
|
+
"no-misleading-character-class": [
|
|
5996
|
+
"error",
|
|
5997
|
+
{
|
|
5998
|
+
"allowEscape": false
|
|
5999
|
+
}
|
|
6000
|
+
],
|
|
6001
|
+
"no-mixed-operators": "off",
|
|
6002
|
+
"no-mixed-spaces-and-tabs": "off",
|
|
6003
|
+
"no-multi-spaces": "off",
|
|
6004
|
+
"no-multiple-empty-lines": "off",
|
|
6005
|
+
"no-negated-condition": "off",
|
|
6006
|
+
"no-nested-ternary": "off",
|
|
6007
|
+
"no-new-native-nonconstructor": "off",
|
|
6008
|
+
"no-new-symbol": "off",
|
|
6009
|
+
"no-nonoctal-decimal-escape": "error",
|
|
6010
|
+
"no-obj-calls": "off",
|
|
6011
|
+
"no-octal": "error",
|
|
6012
|
+
"no-process-exit": "off",
|
|
6013
|
+
"no-prototype-builtins": "error",
|
|
6014
|
+
"no-redeclare": [
|
|
6015
|
+
"off",
|
|
6016
|
+
{
|
|
6017
|
+
"builtinGlobals": true
|
|
6018
|
+
}
|
|
6019
|
+
],
|
|
6020
|
+
"no-regex-spaces": "error",
|
|
6021
|
+
"no-reserved-keys": "off",
|
|
6022
|
+
"no-restricted-syntax": [
|
|
6023
|
+
"error",
|
|
6024
|
+
{
|
|
6025
|
+
"selector": "WithStatement",
|
|
6026
|
+
"message": "`with` statement are not allowed."
|
|
6027
|
+
},
|
|
6028
|
+
{
|
|
6029
|
+
"selector": "ForInStatement",
|
|
6030
|
+
"message": "Use for..of instead."
|
|
6031
|
+
},
|
|
6032
|
+
{
|
|
6033
|
+
"selector": "TSEnumDeclaration",
|
|
6034
|
+
"message": "Don't declare enums, use type union of literal strings or constants."
|
|
6035
|
+
},
|
|
6036
|
+
{
|
|
6037
|
+
"selector": "MemberExpression[object.name=\"React\"]",
|
|
6038
|
+
"message": "Use named imports from react."
|
|
6039
|
+
},
|
|
6040
|
+
{
|
|
6041
|
+
"selector": "CallExpression[callee.property.name=\"replaceAll\"] > Literal[regex.flags=/^[^g]*$/].arguments:first-child",
|
|
6042
|
+
"message": "Missing \"g\" flag in regular expression."
|
|
6043
|
+
}
|
|
6044
|
+
],
|
|
6045
|
+
"no-return-assign": [
|
|
6046
|
+
"off",
|
|
6047
|
+
"except-parens"
|
|
6048
|
+
],
|
|
6049
|
+
"no-self-assign": [
|
|
6050
|
+
"error",
|
|
6051
|
+
{
|
|
6052
|
+
"props": true
|
|
6053
|
+
}
|
|
6054
|
+
],
|
|
6055
|
+
"no-setter-return": "off",
|
|
6056
|
+
"no-shadow": [
|
|
6057
|
+
"off",
|
|
6058
|
+
{
|
|
6059
|
+
"allow": [],
|
|
6060
|
+
"builtinGlobals": false,
|
|
6061
|
+
"hoist": "functions",
|
|
6062
|
+
"ignoreOnInitialization": false,
|
|
6063
|
+
"ignoreTypeValueShadow": true,
|
|
6064
|
+
"ignoreFunctionTypeParameterNameValueShadow": true
|
|
6065
|
+
}
|
|
6066
|
+
],
|
|
6067
|
+
"no-shadow-restricted-names": [
|
|
6068
|
+
"error",
|
|
6069
|
+
{
|
|
6070
|
+
"reportGlobalThis": true
|
|
6071
|
+
}
|
|
6072
|
+
],
|
|
6073
|
+
"no-space-before-semi": "off",
|
|
6074
|
+
"no-spaced-func": "off",
|
|
6075
|
+
"no-sparse-arrays": "error",
|
|
6076
|
+
"no-tabs": "off",
|
|
6077
|
+
"no-this-before-super": "off",
|
|
6078
|
+
"no-trailing-spaces": "off",
|
|
6079
|
+
"no-unassigned-vars": "error",
|
|
6080
|
+
"no-undef": [
|
|
6081
|
+
"off",
|
|
6082
|
+
{
|
|
6083
|
+
"typeof": false
|
|
6084
|
+
}
|
|
6085
|
+
],
|
|
6086
|
+
"no-unexpected-multiline": "off",
|
|
6087
|
+
"no-unreachable": "off",
|
|
6088
|
+
"no-unsafe-finally": "error",
|
|
6089
|
+
"no-unsafe-negation": [
|
|
6090
|
+
"off",
|
|
6091
|
+
{
|
|
6092
|
+
"enforceForOrderingRelations": false
|
|
6093
|
+
}
|
|
6094
|
+
],
|
|
6095
|
+
"no-unsafe-optional-chaining": [
|
|
6096
|
+
"error",
|
|
6097
|
+
{
|
|
6098
|
+
"disallowArithmeticOperators": false
|
|
6099
|
+
}
|
|
6100
|
+
],
|
|
6101
|
+
"no-unused-expressions": [
|
|
6102
|
+
"off",
|
|
6103
|
+
{
|
|
6104
|
+
"allowShortCircuit": false,
|
|
6105
|
+
"allowTernary": false,
|
|
6106
|
+
"allowTaggedTemplates": false,
|
|
6107
|
+
"enforceForJSX": false,
|
|
6108
|
+
"ignoreDirectives": false
|
|
6109
|
+
}
|
|
6110
|
+
],
|
|
6111
|
+
"no-unused-labels": "error",
|
|
6112
|
+
"no-unused-private-class-members": "error",
|
|
6113
|
+
"no-unused-vars": [
|
|
6114
|
+
"off",
|
|
6115
|
+
{
|
|
6116
|
+
"vars": "all",
|
|
6117
|
+
"args": "after-used",
|
|
6118
|
+
"ignoreRestSiblings": false,
|
|
6119
|
+
"caughtErrors": "all",
|
|
6120
|
+
"ignoreClassWithStaticInitBlock": false,
|
|
6121
|
+
"ignoreUsingDeclarations": false,
|
|
6122
|
+
"reportUsedIgnorePattern": false
|
|
6123
|
+
}
|
|
6124
|
+
],
|
|
6125
|
+
"no-use-before-define": [
|
|
6126
|
+
"off",
|
|
6127
|
+
{
|
|
6128
|
+
"classes": true,
|
|
6129
|
+
"functions": true,
|
|
6130
|
+
"variables": true,
|
|
6131
|
+
"allowNamedExports": false,
|
|
6132
|
+
"enums": true,
|
|
6133
|
+
"typedefs": true,
|
|
6134
|
+
"ignoreTypeReferences": true
|
|
6135
|
+
}
|
|
6136
|
+
],
|
|
6137
|
+
"no-useless-assignment": "error",
|
|
6138
|
+
"no-useless-backreference": "error",
|
|
6139
|
+
"no-useless-catch": "error",
|
|
6140
|
+
"no-useless-escape": [
|
|
6141
|
+
"error",
|
|
6142
|
+
{
|
|
6143
|
+
"allowRegexCharacters": []
|
|
6144
|
+
}
|
|
6145
|
+
],
|
|
6146
|
+
"no-var": "error",
|
|
6147
|
+
"no-whitespace-before-property": "off",
|
|
6148
|
+
"no-with": "off",
|
|
6149
|
+
"no-wrap-func": "off",
|
|
6150
|
+
"nonblock-statement-body-position": "off",
|
|
6151
|
+
"object-curly-newline": "off",
|
|
6152
|
+
"object-curly-spacing": "off",
|
|
6153
|
+
"object-property-newline": "off",
|
|
6154
|
+
"object-shorthand": [
|
|
6155
|
+
"error",
|
|
6156
|
+
"always"
|
|
6157
|
+
],
|
|
6158
|
+
"one-var-declaration-per-line": "off",
|
|
6159
|
+
"operator-linebreak": "off",
|
|
6160
|
+
"padded-blocks": "off",
|
|
6161
|
+
"prefer-const": [
|
|
6162
|
+
"error",
|
|
6163
|
+
{
|
|
6164
|
+
"destructuring": "any",
|
|
6165
|
+
"ignoreReadBeforeAssign": false
|
|
6166
|
+
}
|
|
6167
|
+
],
|
|
6168
|
+
"prefer-rest-params": "error",
|
|
6169
|
+
"prefer-spread": "error",
|
|
6170
|
+
"prefer-template": "error",
|
|
6171
|
+
"preserve-caught-error": [
|
|
6172
|
+
"error",
|
|
6173
|
+
{
|
|
6174
|
+
"requireCatchParameter": false,
|
|
6175
|
+
"errorClassNames": []
|
|
6176
|
+
}
|
|
6177
|
+
],
|
|
6178
|
+
"prettier/prettier": "error",
|
|
6179
|
+
"quote-props": "off",
|
|
6180
|
+
"quotes": "off",
|
|
6181
|
+
"radix": "off",
|
|
6182
|
+
"react/jsx-child-element-spacing": "off",
|
|
6183
|
+
"react/jsx-closing-bracket-location": "off",
|
|
6184
|
+
"react/jsx-closing-tag-location": "off",
|
|
6185
|
+
"react/jsx-curly-newline": "off",
|
|
6186
|
+
"react/jsx-curly-spacing": "off",
|
|
6187
|
+
"react/jsx-equals-spacing": "off",
|
|
6188
|
+
"react/jsx-first-prop-new-line": "off",
|
|
6189
|
+
"react/jsx-indent": "off",
|
|
6190
|
+
"react/jsx-indent-props": "off",
|
|
6191
|
+
"react/jsx-max-props-per-line": "off",
|
|
6192
|
+
"react/jsx-newline": "off",
|
|
6193
|
+
"react/jsx-one-expression-per-line": "off",
|
|
6194
|
+
"react/jsx-props-no-multi-spaces": "off",
|
|
6195
|
+
"react/jsx-space-before-closing": "off",
|
|
6196
|
+
"react/jsx-tag-spacing": "off",
|
|
6197
|
+
"react/jsx-wrap-multilines": "off",
|
|
6198
|
+
"require-yield": "error",
|
|
6199
|
+
"rest-spread-spacing": "off",
|
|
6200
|
+
"semi": "off",
|
|
6201
|
+
"semi-spacing": "off",
|
|
6202
|
+
"semi-style": "off",
|
|
6203
|
+
"solid/components-return-once": "warn",
|
|
6204
|
+
"solid/event-handlers": "warn",
|
|
6205
|
+
"solid/imports": "warn",
|
|
6206
|
+
"solid/jsx-no-duplicate-props": "error",
|
|
6207
|
+
"solid/jsx-no-script-url": "error",
|
|
6208
|
+
"solid/jsx-no-undef": [
|
|
6209
|
+
"error",
|
|
6210
|
+
{
|
|
6211
|
+
"typescriptEnabled": true,
|
|
6212
|
+
"allowGlobals": false,
|
|
6213
|
+
"autoImport": true
|
|
6214
|
+
}
|
|
6215
|
+
],
|
|
6216
|
+
"solid/jsx-uses-vars": "error",
|
|
6217
|
+
"solid/no-array-handlers": "off",
|
|
6218
|
+
"solid/no-destructure": "error",
|
|
6219
|
+
"solid/no-innerhtml": "error",
|
|
6220
|
+
"solid/no-proxy-apis": "off",
|
|
6221
|
+
"solid/no-react-deps": "warn",
|
|
6222
|
+
"solid/no-react-specific-props": "warn",
|
|
6223
|
+
"solid/no-unknown-namespaces": "off",
|
|
6224
|
+
"solid/prefer-classlist": "off",
|
|
6225
|
+
"solid/prefer-for": "error",
|
|
6226
|
+
"solid/prefer-show": "off",
|
|
6227
|
+
"solid/reactivity": "warn",
|
|
6228
|
+
"solid/self-closing-comp": "error",
|
|
6229
|
+
"solid/style-prop": "warn",
|
|
6230
|
+
"sonarjs/anchor-precedence": "error",
|
|
6231
|
+
"sonarjs/argument-type": "error",
|
|
6232
|
+
"sonarjs/arguments-order": "error",
|
|
6233
|
+
"sonarjs/arguments-usage": "off",
|
|
6234
|
+
"sonarjs/array-callback-without-return": "error",
|
|
6235
|
+
"sonarjs/array-constructor": "off",
|
|
6236
|
+
"sonarjs/arrow-function-convention": [
|
|
6237
|
+
"off",
|
|
6238
|
+
{
|
|
6239
|
+
"requireParameterParentheses": false,
|
|
6240
|
+
"requireBodyBraces": false
|
|
6241
|
+
}
|
|
6242
|
+
],
|
|
6243
|
+
"sonarjs/assertions-in-test-cases": "error",
|
|
6244
|
+
"sonarjs/assertions-in-tests": "error",
|
|
6245
|
+
"sonarjs/async-test-assertions": "error",
|
|
6246
|
+
"sonarjs/aws-apigateway-public-api": "error",
|
|
6247
|
+
"sonarjs/aws-ec2-rds-dms-public": "error",
|
|
6248
|
+
"sonarjs/aws-ec2-unencrypted-ebs-volume": "error",
|
|
6249
|
+
"sonarjs/aws-efs-unencrypted": "error",
|
|
6250
|
+
"sonarjs/aws-iam-all-privileges": "error",
|
|
6251
|
+
"sonarjs/aws-iam-all-resources-accessible": "off",
|
|
6252
|
+
"sonarjs/aws-iam-privilege-escalation": "error",
|
|
6253
|
+
"sonarjs/aws-iam-public-access": "error",
|
|
6254
|
+
"sonarjs/aws-opensearchservice-domain": "error",
|
|
6255
|
+
"sonarjs/aws-rds-unencrypted-databases": "error",
|
|
6256
|
+
"sonarjs/aws-restricted-ip-admin-access": "error",
|
|
6257
|
+
"sonarjs/aws-s3-bucket-granted-access": "error",
|
|
6258
|
+
"sonarjs/aws-s3-bucket-insecure-http": "error",
|
|
6259
|
+
"sonarjs/aws-s3-bucket-public-access": "error",
|
|
6260
|
+
"sonarjs/aws-s3-bucket-versioning": "error",
|
|
6261
|
+
"sonarjs/aws-sagemaker-unencrypted-notebook": "error",
|
|
6262
|
+
"sonarjs/aws-sns-unencrypted-topics": "error",
|
|
6263
|
+
"sonarjs/aws-sqs-unencrypted-queue": "error",
|
|
6264
|
+
"sonarjs/bitwise-operators": "error",
|
|
6265
|
+
"sonarjs/block-scoped-var": "error",
|
|
6266
|
+
"sonarjs/bool-param-default": "off",
|
|
6267
|
+
"sonarjs/call-argument-line": "error",
|
|
6268
|
+
"sonarjs/chai-determinate-assertion": "error",
|
|
6269
|
+
"sonarjs/class-name": [
|
|
6270
|
+
"error",
|
|
6271
|
+
{
|
|
6272
|
+
"format": "^\\$?[A-Z][a-zA-Z0-9]*$"
|
|
6273
|
+
}
|
|
6274
|
+
],
|
|
6275
|
+
"sonarjs/class-prototype": "off",
|
|
6276
|
+
"sonarjs/code-eval": "error",
|
|
6277
|
+
"sonarjs/cognitive-complexity": [
|
|
6278
|
+
"error",
|
|
6279
|
+
15
|
|
6280
|
+
],
|
|
6281
|
+
"sonarjs/comma-or-logical-or-case": "error",
|
|
6282
|
+
"sonarjs/comment-regex": [
|
|
6283
|
+
"off",
|
|
6284
|
+
{
|
|
6285
|
+
"regularExpression": "",
|
|
6286
|
+
"message": "The regular expression matches this comment.",
|
|
6287
|
+
"flags": ""
|
|
6288
|
+
}
|
|
6289
|
+
],
|
|
6290
|
+
"sonarjs/concise-regex": "error",
|
|
6291
|
+
"sonarjs/conditional-indentation": "off",
|
|
6292
|
+
"sonarjs/confidential-information-logging": "off",
|
|
6293
|
+
"sonarjs/constructor-for-side-effects": "error",
|
|
6294
|
+
"sonarjs/content-length": [
|
|
6295
|
+
"error",
|
|
6296
|
+
{
|
|
6297
|
+
"fileUploadSizeLimit": 8000000,
|
|
6298
|
+
"standardSizeLimit": 2000000
|
|
6299
|
+
}
|
|
6300
|
+
],
|
|
6301
|
+
"sonarjs/content-security-policy": "error",
|
|
6302
|
+
"sonarjs/cookie-no-httponly": "error",
|
|
6303
|
+
"sonarjs/cors": "error",
|
|
6304
|
+
"sonarjs/csrf": "error",
|
|
6305
|
+
"sonarjs/cyclomatic-complexity": [
|
|
6306
|
+
"off",
|
|
6307
|
+
{
|
|
6308
|
+
"threshold": 10
|
|
6309
|
+
}
|
|
6310
|
+
],
|
|
6311
|
+
"sonarjs/declarations-in-global-scope": "off",
|
|
6312
|
+
"sonarjs/deprecation": "error",
|
|
6313
|
+
"sonarjs/destructuring-assignment-syntax": "off",
|
|
6314
|
+
"sonarjs/different-types-comparison": "error",
|
|
6315
|
+
"sonarjs/disabled-auto-escaping": "error",
|
|
6316
|
+
"sonarjs/disabled-resource-integrity": "error",
|
|
6317
|
+
"sonarjs/disabled-timeout": "error",
|
|
6318
|
+
"sonarjs/dompurify-unsafe-config": "error",
|
|
6319
|
+
"sonarjs/duplicates-in-character-class": "error",
|
|
6320
|
+
"sonarjs/dynamically-constructed-templates": "error",
|
|
6321
|
+
"sonarjs/elseif-without-else": "off",
|
|
6322
|
+
"sonarjs/empty-string-repetition": "error",
|
|
6323
|
+
"sonarjs/encryption-secure-mode": "error",
|
|
6324
|
+
"sonarjs/existing-groups": "error",
|
|
6325
|
+
"sonarjs/explicit-test-skip": "error",
|
|
6326
|
+
"sonarjs/expression-complexity": [
|
|
6327
|
+
"off",
|
|
6328
|
+
{
|
|
6329
|
+
"max": 3
|
|
6330
|
+
}
|
|
6331
|
+
],
|
|
6332
|
+
"sonarjs/file-header": [
|
|
6333
|
+
"off",
|
|
6334
|
+
{
|
|
6335
|
+
"headerFormat": "",
|
|
6336
|
+
"isRegularExpression": false
|
|
6337
|
+
}
|
|
6338
|
+
],
|
|
6339
|
+
"sonarjs/file-name-differ-from-class": "off",
|
|
6340
|
+
"sonarjs/file-permissions": "error",
|
|
6341
|
+
"sonarjs/file-uploads": "error",
|
|
6342
|
+
"sonarjs/fixme-tag": "error",
|
|
6343
|
+
"sonarjs/for-in": "off",
|
|
6344
|
+
"sonarjs/for-loop-increment-sign": "error",
|
|
6345
|
+
"sonarjs/frame-ancestors": "off",
|
|
6346
|
+
"sonarjs/function-inside-loop": "error",
|
|
6347
|
+
"sonarjs/function-name": [
|
|
6348
|
+
"off",
|
|
6349
|
+
{
|
|
6350
|
+
"format": "^[_a-z][a-zA-Z0-9]*$"
|
|
6351
|
+
}
|
|
6352
|
+
],
|
|
6353
|
+
"sonarjs/function-return-type": "error",
|
|
6354
|
+
"sonarjs/future-reserved-words": "error",
|
|
6355
|
+
"sonarjs/generator-without-yield": "error",
|
|
6356
|
+
"sonarjs/hardcoded-secret-signatures": "error",
|
|
6357
|
+
"sonarjs/hashing": "error",
|
|
6358
|
+
"sonarjs/hidden-files": "off",
|
|
6359
|
+
"sonarjs/hooks-before-test-cases": "error",
|
|
6360
|
+
"sonarjs/in-operator-type-error": "error",
|
|
6361
|
+
"sonarjs/inconsistent-function-call": "error",
|
|
6362
|
+
"sonarjs/index-of-compare-to-positive-number": "error",
|
|
6363
|
+
"sonarjs/insecure-cookie": "error",
|
|
6364
|
+
"sonarjs/insecure-jwt-token": "error",
|
|
6365
|
+
"sonarjs/inverted-assertion-arguments": "error",
|
|
6366
|
+
"sonarjs/jsx-no-leaked-render": "error",
|
|
6367
|
+
"sonarjs/label-position": "error",
|
|
6368
|
+
"sonarjs/link-with-target-blank": "error",
|
|
6369
|
+
"sonarjs/max-lines": [
|
|
6370
|
+
"off",
|
|
6371
|
+
{
|
|
6372
|
+
"maximum": 1000
|
|
6373
|
+
}
|
|
6374
|
+
],
|
|
6375
|
+
"sonarjs/max-lines-per-function": [
|
|
6376
|
+
"off",
|
|
6377
|
+
{
|
|
6378
|
+
"maximum": 200
|
|
6379
|
+
}
|
|
6380
|
+
],
|
|
6381
|
+
"sonarjs/max-switch-cases": [
|
|
6382
|
+
"error",
|
|
6383
|
+
30
|
|
6384
|
+
],
|
|
6385
|
+
"sonarjs/max-union-size": [
|
|
6386
|
+
"off",
|
|
6387
|
+
{
|
|
6388
|
+
"threshold": 3
|
|
6389
|
+
}
|
|
6390
|
+
],
|
|
6391
|
+
"sonarjs/memoize-cache-key": "error",
|
|
6392
|
+
"sonarjs/misplaced-loop-counter": "error",
|
|
6393
|
+
"sonarjs/nested-control-flow": [
|
|
6394
|
+
"off",
|
|
6395
|
+
{
|
|
6396
|
+
"maximumNestingLevel": 3
|
|
6397
|
+
}
|
|
6398
|
+
],
|
|
6399
|
+
"sonarjs/new-operator-misuse": [
|
|
6400
|
+
"error",
|
|
6401
|
+
{
|
|
6402
|
+
"considerJSDoc": false
|
|
6403
|
+
}
|
|
6404
|
+
],
|
|
6405
|
+
"sonarjs/no-all-duplicated-branches": "error",
|
|
6406
|
+
"sonarjs/no-alphabetical-sort": "error",
|
|
6407
|
+
"sonarjs/no-angular-bypass-sanitization": "error",
|
|
6408
|
+
"sonarjs/no-array-delete": "error",
|
|
6409
|
+
"sonarjs/no-associative-arrays": "error",
|
|
6410
|
+
"sonarjs/no-async-constructor": "error",
|
|
6411
|
+
"sonarjs/no-built-in-override": "off",
|
|
6412
|
+
"sonarjs/no-case-label-in-switch": "error",
|
|
6413
|
+
"sonarjs/no-clear-text-protocols": "error",
|
|
6414
|
+
"sonarjs/no-code-after-done": "error",
|
|
6415
|
+
"sonarjs/no-collapsible-if": "off",
|
|
6416
|
+
"sonarjs/no-collection-size-mischeck": "error",
|
|
6417
|
+
"sonarjs/no-commented-code": "off",
|
|
6418
|
+
"sonarjs/no-control-regex": "error",
|
|
6419
|
+
"sonarjs/no-dead-store": "error",
|
|
6420
|
+
"sonarjs/no-debug-commands-in-ui-tests": "error",
|
|
6421
|
+
"sonarjs/no-default-utility-imports": "error",
|
|
6422
|
+
"sonarjs/no-delete-var": "error",
|
|
6423
|
+
"sonarjs/no-duplicate-in-composite": "error",
|
|
6424
|
+
"sonarjs/no-duplicate-string": [
|
|
6425
|
+
"off",
|
|
6426
|
+
{
|
|
6427
|
+
"threshold": 3,
|
|
6428
|
+
"ignoreStrings": "application/json"
|
|
6429
|
+
}
|
|
6430
|
+
],
|
|
6431
|
+
"sonarjs/no-duplicate-test-title": "error",
|
|
6432
|
+
"sonarjs/no-duplicated-branches": "error",
|
|
6433
|
+
"sonarjs/no-element-overwrite": "error",
|
|
6434
|
+
"sonarjs/no-empty-after-reluctant": "error",
|
|
6435
|
+
"sonarjs/no-empty-alternatives": "error",
|
|
6436
|
+
"sonarjs/no-empty-character-class": "error",
|
|
6437
|
+
"sonarjs/no-empty-collection": "error",
|
|
6438
|
+
"sonarjs/no-empty-group": "error",
|
|
6439
|
+
"sonarjs/no-empty-test-file": "error",
|
|
6440
|
+
"sonarjs/no-empty-test-title": "error",
|
|
6441
|
+
"sonarjs/no-equals-in-for-termination": "error",
|
|
6442
|
+
"sonarjs/no-exclusive-tests": "error",
|
|
6443
|
+
"sonarjs/no-extra-arguments": "error",
|
|
6444
|
+
"sonarjs/no-fallthrough": "error",
|
|
6445
|
+
"sonarjs/no-fixed-wait-in-tests": "error",
|
|
6446
|
+
"sonarjs/no-floating-point-equality": "error",
|
|
6447
|
+
"sonarjs/no-for-in-iterable": "off",
|
|
6448
|
+
"sonarjs/no-forced-browser-interaction": "error",
|
|
6449
|
+
"sonarjs/no-function-declaration-in-block": "off",
|
|
6450
|
+
"sonarjs/no-global-this": "error",
|
|
6451
|
+
"sonarjs/no-globals-shadowing": "error",
|
|
6452
|
+
"sonarjs/no-gratuitous-expressions": "error",
|
|
6453
|
+
"sonarjs/no-hardcoded-ip": "error",
|
|
6454
|
+
"sonarjs/no-hardcoded-passwords": [
|
|
6455
|
+
"error",
|
|
6456
|
+
{
|
|
6457
|
+
"passwordWords": [
|
|
6458
|
+
"password",
|
|
6459
|
+
"pwd",
|
|
6460
|
+
"passwd",
|
|
6461
|
+
"passphrase"
|
|
6462
|
+
]
|
|
6463
|
+
}
|
|
6464
|
+
],
|
|
6465
|
+
"sonarjs/no-hardcoded-secrets": [
|
|
6466
|
+
"error",
|
|
6467
|
+
{
|
|
6468
|
+
"secretWords": "api[_.-]?key,auth,credential,secret,token",
|
|
6469
|
+
"randomnessSensibility": 5
|
|
6470
|
+
}
|
|
6471
|
+
],
|
|
6472
|
+
"sonarjs/no-hook-setter-in-body": "error",
|
|
6473
|
+
"sonarjs/no-identical-conditions": "error",
|
|
6474
|
+
"sonarjs/no-identical-expressions": "error",
|
|
6475
|
+
"sonarjs/no-identical-functions": [
|
|
6476
|
+
"error",
|
|
6477
|
+
3
|
|
6478
|
+
],
|
|
6479
|
+
"sonarjs/no-ignored-exceptions": "error",
|
|
6480
|
+
"sonarjs/no-ignored-return": "error",
|
|
6481
|
+
"sonarjs/no-implicit-dependencies": [
|
|
6482
|
+
"off",
|
|
6483
|
+
{
|
|
6484
|
+
"whitelist": []
|
|
6485
|
+
}
|
|
6486
|
+
],
|
|
6487
|
+
"sonarjs/no-implicit-global": "error",
|
|
6488
|
+
"sonarjs/no-in-misuse": "error",
|
|
6489
|
+
"sonarjs/no-incompatible-assertion-types": "error",
|
|
6490
|
+
"sonarjs/no-incomplete-assertions": "error",
|
|
6491
|
+
"sonarjs/no-inconsistent-returns": "off",
|
|
6492
|
+
"sonarjs/no-incorrect-string-concat": "off",
|
|
6493
|
+
"sonarjs/no-internal-api-use": "error",
|
|
6494
|
+
"sonarjs/no-interpolation-in-inline-snapshots": "error",
|
|
6495
|
+
"sonarjs/no-intrusive-permissions": [
|
|
6496
|
+
"off",
|
|
6497
|
+
{
|
|
6498
|
+
"permissions": [
|
|
6499
|
+
"geolocation"
|
|
6500
|
+
]
|
|
6501
|
+
}
|
|
6502
|
+
],
|
|
6503
|
+
"sonarjs/no-invalid-regexp": "error",
|
|
6504
|
+
"sonarjs/no-invariant-returns": "error",
|
|
6505
|
+
"sonarjs/no-inverted-boolean-check": "error",
|
|
6506
|
+
"sonarjs/no-ip-forward": "off",
|
|
6507
|
+
"sonarjs/no-labels": "error",
|
|
6508
|
+
"sonarjs/no-literal-call": "error",
|
|
6509
|
+
"sonarjs/no-mime-sniff": "error",
|
|
6510
|
+
"sonarjs/no-misleading-array-reverse": "error",
|
|
6511
|
+
"sonarjs/no-misleading-character-class": "error",
|
|
6512
|
+
"sonarjs/no-mixed-completion-style": "error",
|
|
6513
|
+
"sonarjs/no-mixed-content": "off",
|
|
6514
|
+
"sonarjs/no-nested-assignment": "error",
|
|
6515
|
+
"sonarjs/no-nested-conditional": "error",
|
|
6516
|
+
"sonarjs/no-nested-functions": [
|
|
6517
|
+
"error",
|
|
6518
|
+
{
|
|
6519
|
+
"threshold": 4
|
|
6520
|
+
}
|
|
6521
|
+
],
|
|
6522
|
+
"sonarjs/no-nested-incdec": "off",
|
|
6523
|
+
"sonarjs/no-nested-switch": "off",
|
|
6524
|
+
"sonarjs/no-nested-template-literals": "error",
|
|
6525
|
+
"sonarjs/no-os-command-from-path": "error",
|
|
6526
|
+
"sonarjs/no-parameter-reassignment": "error",
|
|
6527
|
+
"sonarjs/no-primitive-wrappers": "error",
|
|
6528
|
+
"sonarjs/no-redundant-assignments": "error",
|
|
6529
|
+
"sonarjs/no-redundant-boolean": "error",
|
|
6530
|
+
"sonarjs/no-redundant-jump": "error",
|
|
6531
|
+
"sonarjs/no-redundant-optional": "error",
|
|
6532
|
+
"sonarjs/no-redundant-parentheses": "off",
|
|
6533
|
+
"sonarjs/no-reference-error": "off",
|
|
6534
|
+
"sonarjs/no-referrer-policy": "error",
|
|
6535
|
+
"sonarjs/no-regex-spaces": "error",
|
|
6536
|
+
"sonarjs/no-require-or-define": "off",
|
|
6537
|
+
"sonarjs/no-return-type-any": "off",
|
|
6538
|
+
"sonarjs/no-same-argument-assert": "error",
|
|
6539
|
+
"sonarjs/no-same-line-conditional": "error",
|
|
6540
|
+
"sonarjs/no-selector-parameter": "error",
|
|
6541
|
+
"sonarjs/no-session-cookies-on-static-assets": "error",
|
|
6542
|
+
"sonarjs/no-skipped-tests": "error",
|
|
6543
|
+
"sonarjs/no-small-switch": "error",
|
|
6544
|
+
"sonarjs/no-sonar-comments": "off",
|
|
6545
|
+
"sonarjs/no-tab": "off",
|
|
6546
|
+
"sonarjs/no-table-as-layout": "error",
|
|
6547
|
+
"sonarjs/no-trivial-assertions": "error",
|
|
6548
|
+
"sonarjs/no-try-promise": "error",
|
|
6549
|
+
"sonarjs/no-undefined-argument": "error",
|
|
6550
|
+
"sonarjs/no-undefined-assignment": "off",
|
|
6551
|
+
"sonarjs/no-unenclosed-multiline-block": "error",
|
|
6552
|
+
"sonarjs/no-uniq-key": "error",
|
|
6553
|
+
"sonarjs/no-unsafe-unzip": "off",
|
|
6554
|
+
"sonarjs/no-unthrown-error": "error",
|
|
6555
|
+
"sonarjs/no-unused-collection": "error",
|
|
6556
|
+
"sonarjs/no-unused-function-argument": "off",
|
|
6557
|
+
"sonarjs/no-unused-vars": "error",
|
|
6558
|
+
"sonarjs/no-use-of-empty-return-value": "error",
|
|
6559
|
+
"sonarjs/no-useless-catch": "error",
|
|
6560
|
+
"sonarjs/no-useless-increment": "error",
|
|
6561
|
+
"sonarjs/no-useless-intersection": "error",
|
|
6562
|
+
"sonarjs/no-useless-react-setstate": "error",
|
|
6563
|
+
"sonarjs/no-variable-usage-before-declaration": "off",
|
|
6564
|
+
"sonarjs/no-weak-cipher": "error",
|
|
6565
|
+
"sonarjs/no-weak-keys": "error",
|
|
6566
|
+
"sonarjs/no-wildcard-import": "off",
|
|
6567
|
+
"sonarjs/non-existent-operator": "error",
|
|
6568
|
+
"sonarjs/non-number-in-arithmetic-expression": "off",
|
|
6569
|
+
"sonarjs/null-dereference": "error",
|
|
6570
|
+
"sonarjs/object-alt-content": "error",
|
|
6571
|
+
"sonarjs/operation-returning-nan": "off",
|
|
6572
|
+
"sonarjs/os-command": "off",
|
|
6573
|
+
"sonarjs/parameterized-tests": "error",
|
|
6574
|
+
"sonarjs/post-message": "error",
|
|
6575
|
+
"sonarjs/prefer-default-last": "error",
|
|
6576
|
+
"sonarjs/prefer-immediate-return": "off",
|
|
6577
|
+
"sonarjs/prefer-native-lodash-alternative": "error",
|
|
6578
|
+
"sonarjs/prefer-object-literal": "off",
|
|
6579
|
+
"sonarjs/prefer-promise-shorthand": "error",
|
|
6580
|
+
"sonarjs/prefer-read-only-props": "error",
|
|
6581
|
+
"sonarjs/prefer-regexp-exec": "error",
|
|
6582
|
+
"sonarjs/prefer-single-boolean-return": "error",
|
|
6583
|
+
"sonarjs/prefer-specific-assertions": "error",
|
|
6584
|
+
"sonarjs/prefer-type-guard": "error",
|
|
6585
|
+
"sonarjs/prefer-while": "error",
|
|
6586
|
+
"sonarjs/production-debug": "error",
|
|
6587
|
+
"sonarjs/pseudo-random": "error",
|
|
6588
|
+
"sonarjs/public-static-readonly": "error",
|
|
6589
|
+
"sonarjs/publicly-writable-directories": "error",
|
|
6590
|
+
"sonarjs/reduce-initial-value": "error",
|
|
6591
|
+
"sonarjs/redundant-type-aliases": "error",
|
|
6592
|
+
"sonarjs/regex-complexity": [
|
|
6593
|
+
"error",
|
|
6594
|
+
{
|
|
6595
|
+
"threshold": 20
|
|
6596
|
+
}
|
|
6597
|
+
],
|
|
6598
|
+
"sonarjs/review-blockchain-mnemonic": "error",
|
|
6599
|
+
"sonarjs/session-regeneration": "error",
|
|
6600
|
+
"sonarjs/shorthand-property-grouping": "off",
|
|
6601
|
+
"sonarjs/single-char-in-character-classes": "error",
|
|
6602
|
+
"sonarjs/single-character-alternation": "error",
|
|
6603
|
+
"sonarjs/slow-regex": "error",
|
|
6604
|
+
"sonarjs/sql-queries": "error",
|
|
6605
|
+
"sonarjs/stable-tests": "error",
|
|
6606
|
+
"sonarjs/stateful-regex": "error",
|
|
6607
|
+
"sonarjs/strict-transport-security": "error",
|
|
6608
|
+
"sonarjs/strings-comparison": "off",
|
|
6609
|
+
"sonarjs/super-linear-regex": "error",
|
|
6610
|
+
"sonarjs/synchronous-suite-callback": "error",
|
|
6611
|
+
"sonarjs/table-header": "error",
|
|
6612
|
+
"sonarjs/table-header-reference": "error",
|
|
6613
|
+
"sonarjs/test-check-exception": "error",
|
|
6614
|
+
"sonarjs/todo-tag": "warn",
|
|
6615
|
+
"sonarjs/too-many-break-or-continue-in-loop": "off",
|
|
6616
|
+
"sonarjs/unicode-aware-regex": "off",
|
|
6617
|
+
"sonarjs/unused-import": "error",
|
|
6618
|
+
"sonarjs/unused-named-groups": "error",
|
|
6619
|
+
"sonarjs/unverified-certificate": "error",
|
|
6620
|
+
"sonarjs/unverified-hostname": "error",
|
|
6621
|
+
"sonarjs/updated-const-var": "error",
|
|
6622
|
+
"sonarjs/updated-loop-counter": "error",
|
|
6623
|
+
"sonarjs/use-type-alias": "error",
|
|
6624
|
+
"sonarjs/useless-string-operation": "off",
|
|
6625
|
+
"sonarjs/values-not-convertible-to-numbers": "off",
|
|
6626
|
+
"sonarjs/variable-name": [
|
|
6627
|
+
"off",
|
|
6628
|
+
{
|
|
6629
|
+
"format": "^[_$A-Za-z][$A-Za-z0-9]*$|^[_$A-Z][_$A-Z0-9]+$"
|
|
6630
|
+
}
|
|
6631
|
+
],
|
|
6632
|
+
"sonarjs/void-use": "error",
|
|
6633
|
+
"sonarjs/weak-ssl": "error",
|
|
6634
|
+
"sonarjs/web-sql-database": "off",
|
|
6635
|
+
"sonarjs/x-powered-by": "error",
|
|
6636
|
+
"sonarjs/xml-parser-xxe": "error",
|
|
6637
|
+
"sort-imports": [
|
|
6638
|
+
"error",
|
|
6639
|
+
{
|
|
6640
|
+
"allowSeparatedGroups": false,
|
|
6641
|
+
"ignoreCase": false,
|
|
6642
|
+
"ignoreDeclarationSort": true,
|
|
6643
|
+
"ignoreMemberSort": false,
|
|
6644
|
+
"memberSyntaxSortOrder": [
|
|
6645
|
+
"none",
|
|
6646
|
+
"all",
|
|
6647
|
+
"multiple",
|
|
6648
|
+
"single"
|
|
6649
|
+
]
|
|
6650
|
+
}
|
|
6651
|
+
],
|
|
6652
|
+
"space-after-function-name": "off",
|
|
6653
|
+
"space-after-keywords": "off",
|
|
6654
|
+
"space-before-blocks": "off",
|
|
6655
|
+
"space-before-function-paren": "off",
|
|
6656
|
+
"space-before-function-parentheses": "off",
|
|
6657
|
+
"space-before-keywords": "off",
|
|
6658
|
+
"space-in-brackets": "off",
|
|
6659
|
+
"space-in-parens": "off",
|
|
6660
|
+
"space-infix-ops": "off",
|
|
6661
|
+
"space-return-throw-case": "off",
|
|
6662
|
+
"space-unary-ops": "off",
|
|
6663
|
+
"space-unary-word-ops": "off",
|
|
6664
|
+
"standard/array-bracket-even-spacing": "off",
|
|
6665
|
+
"standard/computed-property-even-spacing": "off",
|
|
6666
|
+
"standard/object-curly-even-spacing": "off",
|
|
6667
|
+
"switch-colon-spacing": "off",
|
|
6668
|
+
"template-curly-spacing": "off",
|
|
6669
|
+
"template-tag-spacing": "off",
|
|
6670
|
+
"unicorn/better-dom-traversing": "error",
|
|
6671
|
+
"unicorn/catch-error-name": [
|
|
6672
|
+
"error",
|
|
6673
|
+
{
|
|
6674
|
+
"name": "error",
|
|
6675
|
+
"ignore": []
|
|
6676
|
+
}
|
|
6677
|
+
],
|
|
6678
|
+
"unicorn/class-reference-in-static-methods": [
|
|
6679
|
+
"error",
|
|
6680
|
+
{
|
|
6681
|
+
"preferThis": true,
|
|
6682
|
+
"preferSuper": true
|
|
6683
|
+
}
|
|
6684
|
+
],
|
|
6685
|
+
"unicorn/comment-content": [
|
|
6686
|
+
"off",
|
|
6687
|
+
{
|
|
6688
|
+
"checkUniformCase": true,
|
|
6689
|
+
"extendDefaultReplacements": true,
|
|
6690
|
+
"replacements": {}
|
|
6691
|
+
}
|
|
6692
|
+
],
|
|
6693
|
+
"unicorn/consistent-arrow-return-style": "off",
|
|
6694
|
+
"unicorn/consistent-assert": "error",
|
|
6695
|
+
"unicorn/consistent-boolean-name": [
|
|
6696
|
+
"error",
|
|
6697
|
+
{
|
|
6698
|
+
"checkVariables": "always",
|
|
6699
|
+
"checkArguments": "always",
|
|
6700
|
+
"checkFunctions": "always",
|
|
6701
|
+
"checkMethods": "never",
|
|
6702
|
+
"checkFields": "never",
|
|
6703
|
+
"ignore": [],
|
|
6704
|
+
"wrappers": {}
|
|
6705
|
+
}
|
|
6706
|
+
],
|
|
6707
|
+
"unicorn/consistent-class-member-order": [
|
|
6708
|
+
"error",
|
|
6709
|
+
{
|
|
6710
|
+
"order": [
|
|
6711
|
+
"static-field",
|
|
6712
|
+
"static-block",
|
|
6713
|
+
"static-method",
|
|
6714
|
+
"private-field",
|
|
6715
|
+
"public-field",
|
|
6716
|
+
"constructor",
|
|
6717
|
+
"private-method",
|
|
6718
|
+
"public-method"
|
|
6719
|
+
]
|
|
6720
|
+
}
|
|
6721
|
+
],
|
|
6722
|
+
"unicorn/consistent-compound-words": [
|
|
6723
|
+
"error",
|
|
6724
|
+
{}
|
|
6725
|
+
],
|
|
6726
|
+
"unicorn/consistent-conditional-object-spread": [
|
|
6727
|
+
"error",
|
|
6728
|
+
"logical"
|
|
6729
|
+
],
|
|
6730
|
+
"unicorn/consistent-date-clone": "error",
|
|
6731
|
+
"unicorn/consistent-destructuring": "error",
|
|
6732
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
6733
|
+
"unicorn/consistent-existence-index-check": "error",
|
|
6734
|
+
"unicorn/consistent-export-decorator-position": [
|
|
6735
|
+
"error",
|
|
6736
|
+
"above"
|
|
6737
|
+
],
|
|
6738
|
+
"unicorn/consistent-function-scoping": [
|
|
6739
|
+
"error",
|
|
6740
|
+
{
|
|
6741
|
+
"checkArrowFunctions": true
|
|
6742
|
+
}
|
|
6743
|
+
],
|
|
6744
|
+
"unicorn/consistent-function-style": [
|
|
6745
|
+
"off",
|
|
6746
|
+
{
|
|
6747
|
+
"default": "ignore",
|
|
6748
|
+
"namedFunctions": "ignore",
|
|
6749
|
+
"namedExports": "ignore",
|
|
6750
|
+
"callbacks": "ignore",
|
|
6751
|
+
"objectProperties": "ignore",
|
|
6752
|
+
"reassignedVariables": "ignore",
|
|
6753
|
+
"typedVariables": "ignore"
|
|
6754
|
+
}
|
|
6755
|
+
],
|
|
6756
|
+
"unicorn/consistent-json-file-read": [
|
|
6757
|
+
"error",
|
|
6758
|
+
"string"
|
|
6759
|
+
],
|
|
6760
|
+
"unicorn/consistent-optional-chaining": "error",
|
|
6761
|
+
"unicorn/consistent-template-literal-escape": "error",
|
|
6762
|
+
"unicorn/consistent-tuple-labels": "error",
|
|
6763
|
+
"unicorn/custom-error-definition": "error",
|
|
6764
|
+
"unicorn/default-export-style": [
|
|
6765
|
+
"error",
|
|
6766
|
+
{
|
|
6767
|
+
"functions": "inline",
|
|
6768
|
+
"classes": "inline"
|
|
6769
|
+
}
|
|
6770
|
+
],
|
|
6771
|
+
"unicorn/dom-node-dataset": [
|
|
6772
|
+
"error",
|
|
6773
|
+
{
|
|
6774
|
+
"preferAttributes": false
|
|
6775
|
+
}
|
|
6776
|
+
],
|
|
6777
|
+
"unicorn/empty-brace-spaces": "error",
|
|
6778
|
+
"unicorn/error-message": "error",
|
|
6779
|
+
"unicorn/escape-case": [
|
|
6780
|
+
"error",
|
|
6781
|
+
"uppercase"
|
|
6782
|
+
],
|
|
6783
|
+
"unicorn/expiring-todo-comments": [
|
|
6784
|
+
"error",
|
|
6785
|
+
{
|
|
6786
|
+
"terms": [
|
|
6787
|
+
"todo",
|
|
6788
|
+
"fixme",
|
|
6789
|
+
"xxx"
|
|
6790
|
+
],
|
|
6791
|
+
"ignore": [],
|
|
6792
|
+
"checkDates": false,
|
|
6793
|
+
"checkDatesOnPullRequests": false,
|
|
6794
|
+
"allowWarningComments": true
|
|
6795
|
+
}
|
|
6796
|
+
],
|
|
6797
|
+
"unicorn/explicit-length-check": [
|
|
6798
|
+
"error",
|
|
6799
|
+
{
|
|
6800
|
+
"non-zero": "greater-than"
|
|
6801
|
+
}
|
|
6802
|
+
],
|
|
6803
|
+
"unicorn/explicit-timer-delay": [
|
|
6804
|
+
"error",
|
|
6805
|
+
"always"
|
|
6806
|
+
],
|
|
6807
|
+
"unicorn/filename-case": "error",
|
|
6808
|
+
"unicorn/id-match": [
|
|
6809
|
+
"off",
|
|
6810
|
+
"^.+$",
|
|
6811
|
+
{
|
|
6812
|
+
"classFields": false,
|
|
6813
|
+
"ignoreDestructuring": false,
|
|
6814
|
+
"onlyDeclarations": false,
|
|
6815
|
+
"properties": false,
|
|
6816
|
+
"checkNamedSpecifiers": true
|
|
6817
|
+
}
|
|
6818
|
+
],
|
|
6819
|
+
"unicorn/import-style": [
|
|
6820
|
+
"error",
|
|
6821
|
+
{}
|
|
6822
|
+
],
|
|
6823
|
+
"unicorn/isolated-functions": [
|
|
6824
|
+
"error",
|
|
6825
|
+
{
|
|
6826
|
+
"functions": [
|
|
6827
|
+
"makeSynchronous",
|
|
6828
|
+
"workerize"
|
|
6829
|
+
],
|
|
6830
|
+
"selectors": [],
|
|
6831
|
+
"comments": [
|
|
6832
|
+
"@isolated"
|
|
6833
|
+
],
|
|
6834
|
+
"overrideGlobals": {}
|
|
6835
|
+
}
|
|
6836
|
+
],
|
|
6837
|
+
"unicorn/iteration-fallback-style": [
|
|
6838
|
+
"off",
|
|
6839
|
+
"guard"
|
|
6840
|
+
],
|
|
6841
|
+
"unicorn/logical-assignment-operators": [
|
|
6842
|
+
"error",
|
|
6843
|
+
"always"
|
|
6844
|
+
],
|
|
6845
|
+
"unicorn/max-nested-calls": [
|
|
6846
|
+
"error",
|
|
6847
|
+
{
|
|
6848
|
+
"max": 3
|
|
6849
|
+
}
|
|
6850
|
+
],
|
|
6851
|
+
"unicorn/name-replacements": [
|
|
6852
|
+
"error",
|
|
6853
|
+
{
|
|
6854
|
+
"replacements": {
|
|
6855
|
+
"dev": false,
|
|
6856
|
+
"prod": false,
|
|
6857
|
+
"props": false,
|
|
6858
|
+
"ref": false,
|
|
6859
|
+
"refs": false,
|
|
6860
|
+
"args": false,
|
|
6861
|
+
"params": false,
|
|
6862
|
+
"utils": false,
|
|
6863
|
+
"env": false
|
|
6864
|
+
}
|
|
6865
|
+
}
|
|
6866
|
+
],
|
|
6867
|
+
"unicorn/new-for-builtins": "error",
|
|
6868
|
+
"unicorn/no-abusive-eslint-disable": "error",
|
|
6869
|
+
"unicorn/no-accessor-recursion": "error",
|
|
6870
|
+
"unicorn/no-accidental-bitwise-operator": "error",
|
|
6871
|
+
"unicorn/no-anonymous-default-export": "error",
|
|
6872
|
+
"unicorn/no-array-callback-reference": [
|
|
6873
|
+
"error",
|
|
6874
|
+
{
|
|
6875
|
+
"ignore": []
|
|
6876
|
+
}
|
|
6877
|
+
],
|
|
6878
|
+
"unicorn/no-array-concat-in-loop": "error",
|
|
6879
|
+
"unicorn/no-array-fill-with-reference-type": "error",
|
|
6880
|
+
"unicorn/no-array-from-fill": "error",
|
|
6881
|
+
"unicorn/no-array-front-mutation": "off",
|
|
6882
|
+
"unicorn/no-array-method-this-argument": "error",
|
|
6883
|
+
"unicorn/no-array-reduce": [
|
|
6884
|
+
"error",
|
|
6885
|
+
{
|
|
6886
|
+
"allowSimpleOperations": true
|
|
6887
|
+
}
|
|
6888
|
+
],
|
|
6889
|
+
"unicorn/no-array-reverse": [
|
|
6890
|
+
"error",
|
|
6891
|
+
{
|
|
6892
|
+
"allowExpressionStatement": true
|
|
6893
|
+
}
|
|
6894
|
+
],
|
|
6895
|
+
"unicorn/no-array-sort": [
|
|
6896
|
+
"error",
|
|
6897
|
+
{
|
|
6898
|
+
"allowExpressionStatement": true
|
|
6899
|
+
}
|
|
6900
|
+
],
|
|
6901
|
+
"unicorn/no-array-sort-for-min-max": "error",
|
|
6902
|
+
"unicorn/no-array-splice": "error",
|
|
6903
|
+
"unicorn/no-asterisk-prefix-in-documentation-comments": "off",
|
|
6904
|
+
"unicorn/no-async-promise-finally": "error",
|
|
6905
|
+
"unicorn/no-await-expression-member": "error",
|
|
6906
|
+
"unicorn/no-await-in-promise-methods": "error",
|
|
6907
|
+
"unicorn/no-barrel-files": "off",
|
|
6908
|
+
"unicorn/no-blob-to-file": "error",
|
|
6909
|
+
"unicorn/no-boolean-sort-comparator": "error",
|
|
6910
|
+
"unicorn/no-break-in-nested-loop": "error",
|
|
6911
|
+
"unicorn/no-canvas-to-image": "error",
|
|
6912
|
+
"unicorn/no-chained-comparison": "error",
|
|
6913
|
+
"unicorn/no-collection-bracket-access": "error",
|
|
6914
|
+
"unicorn/no-computed-property-existence-check": "error",
|
|
6915
|
+
"unicorn/no-confusing-array-splice": "error",
|
|
6916
|
+
"unicorn/no-confusing-array-with": "error",
|
|
6917
|
+
"unicorn/no-console-spaces": "error",
|
|
6918
|
+
"unicorn/no-constant-zero-expression": "error",
|
|
6919
|
+
"unicorn/no-declarations-before-early-exit": "error",
|
|
6920
|
+
"unicorn/no-document-cookie": "error",
|
|
6921
|
+
"unicorn/no-double-comparison": "error",
|
|
6922
|
+
"unicorn/no-duplicate-if-branches": "error",
|
|
6923
|
+
"unicorn/no-duplicate-logical-operands": "error",
|
|
6924
|
+
"unicorn/no-duplicate-loops": "error",
|
|
6925
|
+
"unicorn/no-duplicate-set-values": "error",
|
|
6926
|
+
"unicorn/no-empty-file": [
|
|
6927
|
+
"error",
|
|
6928
|
+
{
|
|
6929
|
+
"allowComments": false
|
|
6930
|
+
}
|
|
6931
|
+
],
|
|
6932
|
+
"unicorn/no-error-property-assignment": "error",
|
|
6933
|
+
"unicorn/no-exports-in-scripts": "error",
|
|
6934
|
+
"unicorn/no-for-each": "error",
|
|
6935
|
+
"unicorn/no-for-loop": "error",
|
|
6936
|
+
"unicorn/no-global-object-property-assignment": "error",
|
|
6937
|
+
"unicorn/no-immediate-mutation": "error",
|
|
6938
|
+
"unicorn/no-impossible-length-comparison": "error",
|
|
6939
|
+
"unicorn/no-incorrect-query-selector": "error",
|
|
6940
|
+
"unicorn/no-incorrect-template-string-interpolation": "error",
|
|
6941
|
+
"unicorn/no-instanceof-builtins": [
|
|
6942
|
+
"error",
|
|
6943
|
+
{
|
|
6944
|
+
"useErrorIsError": false,
|
|
6945
|
+
"strategy": "loose",
|
|
6946
|
+
"include": [],
|
|
6947
|
+
"exclude": []
|
|
6948
|
+
}
|
|
6949
|
+
],
|
|
6950
|
+
"unicorn/no-invalid-argument-count": [
|
|
6951
|
+
"error",
|
|
6952
|
+
{}
|
|
6953
|
+
],
|
|
6954
|
+
"unicorn/no-invalid-character-comparison": "error",
|
|
6955
|
+
"unicorn/no-invalid-fetch-options": "error",
|
|
6956
|
+
"unicorn/no-invalid-file-input-accept": "off",
|
|
6957
|
+
"unicorn/no-invalid-remove-event-listener": "error",
|
|
6958
|
+
"unicorn/no-invalid-well-known-symbol-methods": "error",
|
|
6959
|
+
"unicorn/no-keyword-prefix": [
|
|
6960
|
+
"off",
|
|
6961
|
+
{}
|
|
6962
|
+
],
|
|
6963
|
+
"unicorn/no-late-current-target-access": "error",
|
|
6964
|
+
"unicorn/no-late-event-control": "error",
|
|
6965
|
+
"unicorn/no-lonely-if": "error",
|
|
6966
|
+
"unicorn/no-loop-iterable-mutation": "error",
|
|
6967
|
+
"unicorn/no-magic-array-flat-depth": "error",
|
|
6968
|
+
"unicorn/no-manually-wrapped-comments": "off",
|
|
6969
|
+
"unicorn/no-mismatched-map-key": "error",
|
|
6970
|
+
"unicorn/no-misrefactored-assignment": "error",
|
|
6971
|
+
"unicorn/no-missing-local-resource": "off",
|
|
6972
|
+
"unicorn/no-multiple-promise-resolver-calls": "error",
|
|
6973
|
+
"unicorn/no-named-default": "error",
|
|
6974
|
+
"unicorn/no-negated-array-predicate": "error",
|
|
6975
|
+
"unicorn/no-negated-comparison": [
|
|
6976
|
+
"error",
|
|
6977
|
+
{
|
|
6978
|
+
"checkLogicalExpressions": false
|
|
6979
|
+
}
|
|
6980
|
+
],
|
|
6981
|
+
"unicorn/no-negated-condition": "error",
|
|
6982
|
+
"unicorn/no-negation-in-equality-check": "error",
|
|
6983
|
+
"unicorn/no-nested-ternary": "error",
|
|
6984
|
+
"unicorn/no-new-array": "error",
|
|
6985
|
+
"unicorn/no-new-buffer": "error",
|
|
6986
|
+
"unicorn/no-non-function-verb-prefix": [
|
|
6987
|
+
"error",
|
|
6988
|
+
{
|
|
6989
|
+
"verbs": [
|
|
6990
|
+
"get",
|
|
6991
|
+
"set",
|
|
6992
|
+
"unset",
|
|
6993
|
+
"delete",
|
|
6994
|
+
"add",
|
|
6995
|
+
"remove",
|
|
6996
|
+
"destroy",
|
|
6997
|
+
"create"
|
|
6998
|
+
],
|
|
6999
|
+
"ignore": []
|
|
7000
|
+
}
|
|
7001
|
+
],
|
|
7002
|
+
"unicorn/no-nonstandard-builtin-properties": "error",
|
|
7003
|
+
"unicorn/no-null": [
|
|
7004
|
+
"off",
|
|
7005
|
+
{
|
|
7006
|
+
"checkArguments": true,
|
|
7007
|
+
"checkStrictEquality": false
|
|
7008
|
+
}
|
|
7009
|
+
],
|
|
7010
|
+
"unicorn/no-object-as-default-parameter": "error",
|
|
7011
|
+
"unicorn/no-object-methods-with-collections": "error",
|
|
7012
|
+
"unicorn/no-optional-chaining-on-undeclared-variable": "error",
|
|
7013
|
+
"unicorn/no-process-exit": "error",
|
|
7014
|
+
"unicorn/no-redundant-comparison": "error",
|
|
7015
|
+
"unicorn/no-return-array-push": "error",
|
|
7016
|
+
"unicorn/no-selector-as-dom-name": "error",
|
|
7017
|
+
"unicorn/no-shorthand-property-overrides": "error",
|
|
7018
|
+
"unicorn/no-single-promise-in-promise-methods": "error",
|
|
7019
|
+
"unicorn/no-static-only-class": "error",
|
|
7020
|
+
"unicorn/no-subtraction-comparison": "error",
|
|
7021
|
+
"unicorn/no-thenable": "error",
|
|
7022
|
+
"unicorn/no-this-assignment": "error",
|
|
7023
|
+
"unicorn/no-this-outside-of-class": "error",
|
|
7024
|
+
"unicorn/no-top-level-assignment-in-function": "error",
|
|
7025
|
+
"unicorn/no-top-level-side-effects": "error",
|
|
7026
|
+
"unicorn/no-transition-all": "error",
|
|
7027
|
+
"unicorn/no-typeof-undefined": [
|
|
7028
|
+
"error",
|
|
7029
|
+
{
|
|
7030
|
+
"checkGlobalVariables": false
|
|
7031
|
+
}
|
|
7032
|
+
],
|
|
7033
|
+
"unicorn/no-uncalled-method": "error",
|
|
7034
|
+
"unicorn/no-undeclared-class-members": "error",
|
|
7035
|
+
"unicorn/no-unnecessary-array-flat-depth": "error",
|
|
7036
|
+
"unicorn/no-unnecessary-array-flat-map": "error",
|
|
7037
|
+
"unicorn/no-unnecessary-array-splice-count": "error",
|
|
7038
|
+
"unicorn/no-unnecessary-await": "error",
|
|
7039
|
+
"unicorn/no-unnecessary-boolean-comparison": "error",
|
|
7040
|
+
"unicorn/no-unnecessary-fetch-options": "error",
|
|
7041
|
+
"unicorn/no-unnecessary-global-this": "error",
|
|
7042
|
+
"unicorn/no-unnecessary-nested-ternary": "error",
|
|
7043
|
+
"unicorn/no-unnecessary-polyfills": [
|
|
7044
|
+
"error",
|
|
7045
|
+
{}
|
|
7046
|
+
],
|
|
7047
|
+
"unicorn/no-unnecessary-slice-end": "error",
|
|
7048
|
+
"unicorn/no-unnecessary-splice": "error",
|
|
7049
|
+
"unicorn/no-unnecessary-string-trim": "error",
|
|
7050
|
+
"unicorn/no-unreadable-array-destructuring": [
|
|
7051
|
+
"error",
|
|
7052
|
+
{
|
|
7053
|
+
"maximumIgnoredElements": 1
|
|
7054
|
+
}
|
|
7055
|
+
],
|
|
7056
|
+
"unicorn/no-unreadable-for-of-expression": "error",
|
|
7057
|
+
"unicorn/no-unreadable-iife": "error",
|
|
7058
|
+
"unicorn/no-unreadable-new-expression": "off",
|
|
7059
|
+
"unicorn/no-unreadable-object-destructuring": "error",
|
|
7060
|
+
"unicorn/no-unsafe-buffer-conversion": "error",
|
|
7061
|
+
"unicorn/no-unsafe-dom-html": "off",
|
|
7062
|
+
"unicorn/no-unsafe-promise-all-settled-values": "error",
|
|
7063
|
+
"unicorn/no-unsafe-property-key": "error",
|
|
7064
|
+
"unicorn/no-unsafe-sqlite-interpolation": "error",
|
|
7065
|
+
"unicorn/no-unsafe-string-replacement": "error",
|
|
7066
|
+
"unicorn/no-unused-array-method-return": "error",
|
|
7067
|
+
"unicorn/no-unused-properties": "error",
|
|
7068
|
+
"unicorn/no-useless-boolean-cast": "error",
|
|
7069
|
+
"unicorn/no-useless-coercion": "error",
|
|
7070
|
+
"unicorn/no-useless-collection-argument": "error",
|
|
7071
|
+
"unicorn/no-useless-compound-assignment": "error",
|
|
7072
|
+
"unicorn/no-useless-concat": "error",
|
|
7073
|
+
"unicorn/no-useless-continue": "error",
|
|
7074
|
+
"unicorn/no-useless-delete-check": "error",
|
|
7075
|
+
"unicorn/no-useless-else": "error",
|
|
7076
|
+
"unicorn/no-useless-error-capture-stack-trace": "error",
|
|
7077
|
+
"unicorn/no-useless-fallback-in-spread": "error",
|
|
7078
|
+
"unicorn/no-useless-iterator-to-array": "error",
|
|
7079
|
+
"unicorn/no-useless-length-check": "error",
|
|
7080
|
+
"unicorn/no-useless-logical-operand": "error",
|
|
7081
|
+
"unicorn/no-useless-override": "error",
|
|
7082
|
+
"unicorn/no-useless-promise-resolve-reject": "error",
|
|
7083
|
+
"unicorn/no-useless-re-export": "error",
|
|
7084
|
+
"unicorn/no-useless-recursion": "error",
|
|
7085
|
+
"unicorn/no-useless-spread": "error",
|
|
7086
|
+
"unicorn/no-useless-switch-case": "error",
|
|
7087
|
+
"unicorn/no-useless-template-literals": "error",
|
|
7088
|
+
"unicorn/no-useless-undefined": [
|
|
7089
|
+
"error",
|
|
7090
|
+
{
|
|
7091
|
+
"checkArguments": true,
|
|
7092
|
+
"checkArrowFunctionBody": true
|
|
7093
|
+
}
|
|
7094
|
+
],
|
|
7095
|
+
"unicorn/no-xor-as-exponentiation": "error",
|
|
7096
|
+
"unicorn/no-zero-fractions": "error",
|
|
7097
|
+
"unicorn/number-literal-case": [
|
|
7098
|
+
"error",
|
|
7099
|
+
{
|
|
7100
|
+
"hexadecimalValue": "uppercase"
|
|
7101
|
+
}
|
|
7102
|
+
],
|
|
7103
|
+
"unicorn/numeric-separators-style": [
|
|
7104
|
+
"error",
|
|
7105
|
+
{
|
|
7106
|
+
"onlyIfContainsSeparator": false,
|
|
7107
|
+
"binary": {
|
|
7108
|
+
"minimumDigits": 0,
|
|
7109
|
+
"groupLength": 4
|
|
7110
|
+
},
|
|
7111
|
+
"octal": {
|
|
7112
|
+
"minimumDigits": 0,
|
|
7113
|
+
"groupLength": 4
|
|
7114
|
+
},
|
|
7115
|
+
"hexadecimal": {
|
|
7116
|
+
"minimumDigits": 0,
|
|
7117
|
+
"groupLength": 2
|
|
7118
|
+
},
|
|
7119
|
+
"number": {
|
|
7120
|
+
"minimumDigits": 5,
|
|
7121
|
+
"groupLength": 3,
|
|
7122
|
+
"fractionGroupLength": null
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
],
|
|
7126
|
+
"unicorn/operator-assignment": [
|
|
7127
|
+
"error",
|
|
7128
|
+
"always"
|
|
7129
|
+
],
|
|
7130
|
+
"unicorn/prefer-abort-signal-any": "error",
|
|
7131
|
+
"unicorn/prefer-abort-signal-timeout": "error",
|
|
7132
|
+
"unicorn/prefer-add-event-listener": [
|
|
7133
|
+
"error",
|
|
7134
|
+
{
|
|
7135
|
+
"excludedPackages": [
|
|
7136
|
+
"koa",
|
|
7137
|
+
"sax"
|
|
7138
|
+
]
|
|
7139
|
+
}
|
|
7140
|
+
],
|
|
7141
|
+
"unicorn/prefer-add-event-listener-options": "error",
|
|
7142
|
+
"unicorn/prefer-aggregate-error": "error",
|
|
7143
|
+
"unicorn/prefer-array-find": [
|
|
7144
|
+
"error",
|
|
7145
|
+
{
|
|
7146
|
+
"checkFromLast": true
|
|
7147
|
+
}
|
|
7148
|
+
],
|
|
7149
|
+
"unicorn/prefer-array-flat": [
|
|
7150
|
+
"error",
|
|
7151
|
+
{
|
|
7152
|
+
"functions": []
|
|
7153
|
+
}
|
|
7154
|
+
],
|
|
7155
|
+
"unicorn/prefer-array-flat-map": "error",
|
|
7156
|
+
"unicorn/prefer-array-from-async": "error",
|
|
7157
|
+
"unicorn/prefer-array-from-map": "error",
|
|
7158
|
+
"unicorn/prefer-array-from-range": "error",
|
|
7159
|
+
"unicorn/prefer-array-index-of": "error",
|
|
7160
|
+
"unicorn/prefer-array-iterable-methods": "error",
|
|
7161
|
+
"unicorn/prefer-array-last-methods": "error",
|
|
7162
|
+
"unicorn/prefer-array-slice": "error",
|
|
7163
|
+
"unicorn/prefer-array-some": "error",
|
|
7164
|
+
"unicorn/prefer-at": [
|
|
7165
|
+
"error",
|
|
7166
|
+
{
|
|
7167
|
+
"getLastElementFunctions": [],
|
|
7168
|
+
"checkAllIndexAccess": false
|
|
7169
|
+
}
|
|
7170
|
+
],
|
|
7171
|
+
"unicorn/prefer-await": "error",
|
|
7172
|
+
"unicorn/prefer-bigint-literals": "error",
|
|
7173
|
+
"unicorn/prefer-blob-reading-methods": "error",
|
|
7174
|
+
"unicorn/prefer-block-statement-over-iife": "error",
|
|
7175
|
+
"unicorn/prefer-boolean-return": "error",
|
|
7176
|
+
"unicorn/prefer-class-fields": "error",
|
|
7177
|
+
"unicorn/prefer-classlist-toggle": "error",
|
|
7178
|
+
"unicorn/prefer-code-point": "error",
|
|
7179
|
+
"unicorn/prefer-continue": [
|
|
7180
|
+
"error",
|
|
7181
|
+
{
|
|
7182
|
+
"maximumStatements": 1
|
|
7183
|
+
}
|
|
7184
|
+
],
|
|
7185
|
+
"unicorn/prefer-date-now": "error",
|
|
7186
|
+
"unicorn/prefer-default-parameters": "error",
|
|
7187
|
+
"unicorn/prefer-direct-iteration": "error",
|
|
7188
|
+
"unicorn/prefer-dispose": "off",
|
|
7189
|
+
"unicorn/prefer-dom-node-append": "error",
|
|
7190
|
+
"unicorn/prefer-dom-node-html-methods": [
|
|
7191
|
+
"error",
|
|
7192
|
+
{
|
|
7193
|
+
"checkGetHTML": true,
|
|
7194
|
+
"checkSetHTML": false
|
|
7195
|
+
}
|
|
7196
|
+
],
|
|
7197
|
+
"unicorn/prefer-dom-node-remove": "error",
|
|
7198
|
+
"unicorn/prefer-dom-node-replace-children": "error",
|
|
7199
|
+
"unicorn/prefer-dom-node-text-content": "error",
|
|
7200
|
+
"unicorn/prefer-early-return": [
|
|
7201
|
+
"error",
|
|
7202
|
+
{
|
|
7203
|
+
"maximumStatements": 1
|
|
7204
|
+
}
|
|
7205
|
+
],
|
|
7206
|
+
"unicorn/prefer-else-if": "error",
|
|
7207
|
+
"unicorn/prefer-error-is-error": "off",
|
|
7208
|
+
"unicorn/prefer-event-target": "error",
|
|
7209
|
+
"unicorn/prefer-explicit-viewport-units": [
|
|
7210
|
+
"off",
|
|
7211
|
+
{
|
|
7212
|
+
"unit": "dvh"
|
|
7213
|
+
}
|
|
7214
|
+
],
|
|
7215
|
+
"unicorn/prefer-export-from": [
|
|
7216
|
+
"error",
|
|
7217
|
+
{
|
|
7218
|
+
"checkUsedVariables": true
|
|
7219
|
+
}
|
|
7220
|
+
],
|
|
7221
|
+
"unicorn/prefer-flat-math-min-max": "error",
|
|
7222
|
+
"unicorn/prefer-get-or-insert-computed": "error",
|
|
7223
|
+
"unicorn/prefer-global-number-constants": "error",
|
|
7224
|
+
"unicorn/prefer-global-this": "error",
|
|
7225
|
+
"unicorn/prefer-group-by": "error",
|
|
7226
|
+
"unicorn/prefer-has-check": "error",
|
|
7227
|
+
"unicorn/prefer-hoisting-branch-code": "error",
|
|
7228
|
+
"unicorn/prefer-https": [
|
|
7229
|
+
"error",
|
|
7230
|
+
{
|
|
7231
|
+
"ignore": []
|
|
7232
|
+
}
|
|
7233
|
+
],
|
|
7234
|
+
"unicorn/prefer-identifier-import-export-specifiers": "error",
|
|
7235
|
+
"unicorn/prefer-import-meta-properties": "off",
|
|
7236
|
+
"unicorn/prefer-includes": "error",
|
|
7237
|
+
"unicorn/prefer-includes-over-repeated-comparisons": [
|
|
7238
|
+
"error",
|
|
7239
|
+
{
|
|
7240
|
+
"minimumComparisons": 3
|
|
7241
|
+
}
|
|
7242
|
+
],
|
|
7243
|
+
"unicorn/prefer-iterable-in-constructor": "error",
|
|
7244
|
+
"unicorn/prefer-iterator-concat": "off",
|
|
7245
|
+
"unicorn/prefer-iterator-helpers": "error",
|
|
7246
|
+
"unicorn/prefer-iterator-to-array": "error",
|
|
7247
|
+
"unicorn/prefer-iterator-to-array-at-end": "error",
|
|
7248
|
+
"unicorn/prefer-keyboard-event-key": "error",
|
|
7249
|
+
"unicorn/prefer-location-assign": "error",
|
|
7250
|
+
"unicorn/prefer-logical-operator-over-ternary": "error",
|
|
7251
|
+
"unicorn/prefer-map-from-entries": "error",
|
|
7252
|
+
"unicorn/prefer-math-abs": "error",
|
|
7253
|
+
"unicorn/prefer-math-constants": "error",
|
|
7254
|
+
"unicorn/prefer-math-min-max": "error",
|
|
7255
|
+
"unicorn/prefer-math-trunc": "error",
|
|
7256
|
+
"unicorn/prefer-minimal-ternary": [
|
|
7257
|
+
"error",
|
|
7258
|
+
{
|
|
7259
|
+
"checkVaryingBase": false,
|
|
7260
|
+
"checkComputedMemberAccess": false
|
|
7261
|
+
}
|
|
7262
|
+
],
|
|
7263
|
+
"unicorn/prefer-modern-dom-apis": "error",
|
|
7264
|
+
"unicorn/prefer-modern-math-apis": "error",
|
|
7265
|
+
"unicorn/prefer-module": "error",
|
|
7266
|
+
"unicorn/prefer-native-coercion-functions": "error",
|
|
7267
|
+
"unicorn/prefer-negative-index": "error",
|
|
7268
|
+
"unicorn/prefer-node-protocol": "error",
|
|
7269
|
+
"unicorn/prefer-number-coercion": "error",
|
|
7270
|
+
"unicorn/prefer-number-is-safe-integer": "error",
|
|
7271
|
+
"unicorn/prefer-number-properties": [
|
|
7272
|
+
"error",
|
|
7273
|
+
{
|
|
7274
|
+
"checkInfinity": false,
|
|
7275
|
+
"checkNaN": false
|
|
7276
|
+
}
|
|
7277
|
+
],
|
|
7278
|
+
"unicorn/prefer-object-define-properties": "error",
|
|
7279
|
+
"unicorn/prefer-object-destructuring-defaults": "error",
|
|
7280
|
+
"unicorn/prefer-object-from-entries": [
|
|
7281
|
+
"error",
|
|
7282
|
+
{
|
|
7283
|
+
"functions": []
|
|
7284
|
+
}
|
|
7285
|
+
],
|
|
7286
|
+
"unicorn/prefer-object-iterable-methods": "error",
|
|
7287
|
+
"unicorn/prefer-observer-apis": "error",
|
|
7288
|
+
"unicorn/prefer-optional-catch-binding": "error",
|
|
7289
|
+
"unicorn/prefer-path2d": "error",
|
|
7290
|
+
"unicorn/prefer-private-class-fields": "error",
|
|
7291
|
+
"unicorn/prefer-promise-try": "error",
|
|
7292
|
+
"unicorn/prefer-promise-with-resolvers": "error",
|
|
7293
|
+
"unicorn/prefer-prototype-methods": "error",
|
|
7294
|
+
"unicorn/prefer-query-selector": [
|
|
7295
|
+
"error",
|
|
7296
|
+
{
|
|
7297
|
+
"allowWithVariables": false
|
|
7298
|
+
}
|
|
7299
|
+
],
|
|
7300
|
+
"unicorn/prefer-queue-microtask": [
|
|
7301
|
+
"error",
|
|
7302
|
+
{
|
|
7303
|
+
"checkSetImmediate": false,
|
|
7304
|
+
"checkSetTimeout": false
|
|
7305
|
+
}
|
|
7306
|
+
],
|
|
7307
|
+
"unicorn/prefer-reflect-apply": "error",
|
|
7308
|
+
"unicorn/prefer-regexp-escape": "off",
|
|
7309
|
+
"unicorn/prefer-regexp-test": "error",
|
|
7310
|
+
"unicorn/prefer-response-static-json": "error",
|
|
7311
|
+
"unicorn/prefer-scoped-selector": "error",
|
|
7312
|
+
"unicorn/prefer-set-has": [
|
|
7313
|
+
"error",
|
|
7314
|
+
{
|
|
7315
|
+
"minimumItems": 0
|
|
7316
|
+
}
|
|
7317
|
+
],
|
|
7318
|
+
"unicorn/prefer-set-methods": "error",
|
|
7319
|
+
"unicorn/prefer-set-size": "error",
|
|
7320
|
+
"unicorn/prefer-short-arrow-method": [
|
|
7321
|
+
"off",
|
|
7322
|
+
"always"
|
|
7323
|
+
],
|
|
7324
|
+
"unicorn/prefer-simple-condition-first": "error",
|
|
7325
|
+
"unicorn/prefer-simple-sort-comparator": "error",
|
|
7326
|
+
"unicorn/prefer-simplified-conditions": "error",
|
|
7327
|
+
"unicorn/prefer-single-array-predicate": "error",
|
|
7328
|
+
"unicorn/prefer-single-call": [
|
|
7329
|
+
"error",
|
|
7330
|
+
{
|
|
7331
|
+
"ignore": []
|
|
7332
|
+
}
|
|
7333
|
+
],
|
|
7334
|
+
"unicorn/prefer-single-object-destructuring": "error",
|
|
7335
|
+
"unicorn/prefer-single-replace": "error",
|
|
7336
|
+
"unicorn/prefer-smaller-scope": "error",
|
|
7337
|
+
"unicorn/prefer-split-limit": "error",
|
|
7338
|
+
"unicorn/prefer-spread": "error",
|
|
7339
|
+
"unicorn/prefer-string-match-all": "error",
|
|
7340
|
+
"unicorn/prefer-string-pad-start-end": "error",
|
|
7341
|
+
"unicorn/prefer-string-raw": "error",
|
|
7342
|
+
"unicorn/prefer-string-repeat": [
|
|
7343
|
+
"error",
|
|
7344
|
+
{
|
|
7345
|
+
"minimumRepetitions": 3
|
|
7346
|
+
}
|
|
7347
|
+
],
|
|
7348
|
+
"unicorn/prefer-string-replace-all": "error",
|
|
7349
|
+
"unicorn/prefer-string-slice": "error",
|
|
7350
|
+
"unicorn/prefer-string-starts-ends-with": "error",
|
|
7351
|
+
"unicorn/prefer-string-trim-start-end": "error",
|
|
7352
|
+
"unicorn/prefer-structured-clone": [
|
|
7353
|
+
"error",
|
|
7354
|
+
{
|
|
7355
|
+
"functions": []
|
|
7356
|
+
}
|
|
7357
|
+
],
|
|
7358
|
+
"unicorn/prefer-switch": [
|
|
7359
|
+
"error",
|
|
7360
|
+
{
|
|
7361
|
+
"minimumCases": 3,
|
|
7362
|
+
"emptyDefaultCase": "no-default-comment"
|
|
7363
|
+
}
|
|
7364
|
+
],
|
|
7365
|
+
"unicorn/prefer-temporal": [
|
|
7366
|
+
"off",
|
|
7367
|
+
{
|
|
7368
|
+
"checkDateNow": false,
|
|
7369
|
+
"checkReferences": false,
|
|
7370
|
+
"checkMethods": false
|
|
7371
|
+
}
|
|
7372
|
+
],
|
|
7373
|
+
"unicorn/prefer-ternary": [
|
|
7374
|
+
"error",
|
|
7375
|
+
"always"
|
|
7376
|
+
],
|
|
7377
|
+
"unicorn/prefer-then-catch": "error",
|
|
7378
|
+
"unicorn/prefer-toggle-attribute": "error",
|
|
7379
|
+
"unicorn/prefer-top-level-await": "error",
|
|
7380
|
+
"unicorn/prefer-type-error": "error",
|
|
7381
|
+
"unicorn/prefer-type-literal-last": "error",
|
|
7382
|
+
"unicorn/prefer-uint8array-base64": "off",
|
|
7383
|
+
"unicorn/prefer-unary-minus": "error",
|
|
7384
|
+
"unicorn/prefer-unicode-code-point-escapes": "error",
|
|
7385
|
+
"unicorn/prefer-url-can-parse": "error",
|
|
7386
|
+
"unicorn/prefer-url-href": "error",
|
|
7387
|
+
"unicorn/prefer-url-search-parameters": "error",
|
|
7388
|
+
"unicorn/prefer-while-loop-condition": "error",
|
|
7389
|
+
"unicorn/relative-url-style": [
|
|
7390
|
+
"error",
|
|
7391
|
+
"never"
|
|
7392
|
+
],
|
|
7393
|
+
"unicorn/require-array-join-separator": "error",
|
|
7394
|
+
"unicorn/require-array-sort-compare": "error",
|
|
7395
|
+
"unicorn/require-css-escape": [
|
|
7396
|
+
"error",
|
|
7397
|
+
{
|
|
7398
|
+
"checkAllSelectors": false
|
|
7399
|
+
}
|
|
7400
|
+
],
|
|
7401
|
+
"unicorn/require-frontmatter-fields": [
|
|
7402
|
+
"off",
|
|
7403
|
+
{
|
|
7404
|
+
"fields": []
|
|
7405
|
+
}
|
|
7406
|
+
],
|
|
7407
|
+
"unicorn/require-module-attributes": "error",
|
|
7408
|
+
"unicorn/require-module-specifiers": "error",
|
|
7409
|
+
"unicorn/require-number-to-fixed-digits-argument": "error",
|
|
7410
|
+
"unicorn/require-passive-events": "error",
|
|
7411
|
+
"unicorn/require-post-message-target-origin": "off",
|
|
7412
|
+
"unicorn/require-proxy-trap-boolean-return": "error",
|
|
7413
|
+
"unicorn/single-line-block-comment-style": [
|
|
7414
|
+
"error",
|
|
7415
|
+
"multiline",
|
|
7416
|
+
{
|
|
7417
|
+
"ignore": []
|
|
7418
|
+
}
|
|
7419
|
+
],
|
|
7420
|
+
"unicorn/string-content": [
|
|
7421
|
+
"off",
|
|
7422
|
+
{
|
|
7423
|
+
"patterns": {},
|
|
7424
|
+
"selectors": []
|
|
7425
|
+
}
|
|
7426
|
+
],
|
|
7427
|
+
"unicorn/switch-case-braces": [
|
|
7428
|
+
"error",
|
|
7429
|
+
"always"
|
|
7430
|
+
],
|
|
7431
|
+
"unicorn/switch-case-break-position": "error",
|
|
7432
|
+
"unicorn/template-indent": [
|
|
7433
|
+
"error",
|
|
7434
|
+
{
|
|
7435
|
+
"tags": [
|
|
7436
|
+
"outdent",
|
|
7437
|
+
"dedent",
|
|
7438
|
+
"gql",
|
|
7439
|
+
"sql",
|
|
7440
|
+
"html",
|
|
7441
|
+
"styled"
|
|
7442
|
+
],
|
|
7443
|
+
"functions": [
|
|
7444
|
+
"dedent",
|
|
7445
|
+
"stripIndent"
|
|
7446
|
+
],
|
|
7447
|
+
"selectors": [],
|
|
7448
|
+
"comments": [
|
|
7449
|
+
"HTML",
|
|
7450
|
+
"indent"
|
|
7451
|
+
]
|
|
7452
|
+
}
|
|
7453
|
+
],
|
|
7454
|
+
"unicorn/text-encoding-identifier-case": [
|
|
7455
|
+
"error",
|
|
7456
|
+
{
|
|
7457
|
+
"withDash": false
|
|
7458
|
+
}
|
|
7459
|
+
],
|
|
7460
|
+
"unicorn/throw-new-error": "error",
|
|
7461
|
+
"unicorn/try-complexity": [
|
|
7462
|
+
"off",
|
|
7463
|
+
{
|
|
7464
|
+
"max": 1
|
|
7465
|
+
}
|
|
7466
|
+
],
|
|
7467
|
+
"use-isnan": [
|
|
7468
|
+
"error",
|
|
7469
|
+
{
|
|
7470
|
+
"enforceForIndexOf": false,
|
|
7471
|
+
"enforceForSwitchCase": true
|
|
7472
|
+
}
|
|
7473
|
+
],
|
|
7474
|
+
"valid-typeof": [
|
|
7475
|
+
"error",
|
|
7476
|
+
{
|
|
7477
|
+
"requireStringLiterals": false
|
|
7478
|
+
}
|
|
7479
|
+
],
|
|
7480
|
+
"vue/array-bracket-newline": "off",
|
|
7481
|
+
"vue/array-bracket-spacing": "off",
|
|
7482
|
+
"vue/array-element-newline": "off",
|
|
7483
|
+
"vue/arrow-spacing": "off",
|
|
7484
|
+
"vue/block-spacing": "off",
|
|
7485
|
+
"vue/block-tag-newline": "off",
|
|
7486
|
+
"vue/brace-style": "off",
|
|
7487
|
+
"vue/comma-dangle": "off",
|
|
7488
|
+
"vue/comma-spacing": "off",
|
|
7489
|
+
"vue/comma-style": "off",
|
|
7490
|
+
"vue/dot-location": "off",
|
|
7491
|
+
"vue/func-call-spacing": "off",
|
|
7492
|
+
"vue/html-closing-bracket-newline": "off",
|
|
7493
|
+
"vue/html-closing-bracket-spacing": "off",
|
|
7494
|
+
"vue/html-end-tags": "off",
|
|
7495
|
+
"vue/html-indent": "off",
|
|
7496
|
+
"vue/html-quotes": "off",
|
|
7497
|
+
"vue/html-self-closing": "off",
|
|
7498
|
+
"vue/key-spacing": "off",
|
|
7499
|
+
"vue/keyword-spacing": "off",
|
|
7500
|
+
"vue/max-attributes-per-line": "off",
|
|
7501
|
+
"vue/max-len": "off",
|
|
7502
|
+
"vue/multiline-html-element-content-newline": "off",
|
|
7503
|
+
"vue/multiline-ternary": "off",
|
|
7504
|
+
"vue/mustache-interpolation-spacing": "off",
|
|
7505
|
+
"vue/no-extra-parens": "off",
|
|
7506
|
+
"vue/no-multi-spaces": "off",
|
|
7507
|
+
"vue/no-spaces-around-equal-signs-in-attribute": "off",
|
|
7508
|
+
"vue/object-curly-newline": "off",
|
|
7509
|
+
"vue/object-curly-spacing": "off",
|
|
7510
|
+
"vue/object-property-newline": "off",
|
|
7511
|
+
"vue/operator-linebreak": "off",
|
|
7512
|
+
"vue/quote-props": "off",
|
|
7513
|
+
"vue/script-indent": "off",
|
|
7514
|
+
"vue/singleline-html-element-content-newline": "off",
|
|
7515
|
+
"vue/space-in-parens": "off",
|
|
7516
|
+
"vue/space-infix-ops": "off",
|
|
7517
|
+
"vue/space-unary-ops": "off",
|
|
7518
|
+
"vue/template-curly-spacing": "off",
|
|
7519
|
+
"wrap-iife": "off",
|
|
7520
|
+
"wrap-regex": "off",
|
|
7521
|
+
"yield-star-spacing": "off"
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
5018
7524
|
"eslint-next": {
|
|
5019
7525
|
"module": "src/eslint/eslint.config.next.js",
|
|
5020
7526
|
"sampleFile": "src/examples/example.ts",
|