@st1ggy/linter-config 9.0.0 → 10.0.0

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.
@@ -1,12 +1,12 @@
1
1
  {
2
- "generatedAt": "2026-11-02T22:08:15.424Z",
3
- "source": "@st1ggy/linter-config@8.0.0 (local tree)",
2
+ "generatedAt": "2026-11-03T12:39:25.811Z",
3
+ "source": "@st1ggy/linter-config@9.0.0 (local tree)",
4
4
  "linterConfigRoot": "/Users/dnbragin/Projects/personal/linter-config",
5
5
  "flatConfigs": {
6
6
  "eslint-common": {
7
7
  "module": "src/eslint/eslint.config.common.js",
8
8
  "sampleFile": "src/examples/example.ts",
9
- "ruleCount": 1128,
9
+ "ruleCount": 1137,
10
10
  "rules": {
11
11
  "@babel/object-curly-spacing": "off",
12
12
  "@babel/semi": "off",
@@ -626,6 +626,7 @@
626
626
  ],
627
627
  "@typescript-eslint/adjacent-overload-signatures": "error",
628
628
  "@typescript-eslint/array-type": "error",
629
+ "@typescript-eslint/await-thenable": "error",
629
630
  "@typescript-eslint/ban-ts-comment": [
630
631
  "error",
631
632
  {
@@ -672,8 +673,10 @@
672
673
  "@typescript-eslint/no-extra-non-null-assertion": "error",
673
674
  "@typescript-eslint/no-extra-parens": "off",
674
675
  "@typescript-eslint/no-extra-semi": "off",
676
+ "@typescript-eslint/no-floating-promises": "error",
675
677
  "@typescript-eslint/no-inferrable-types": "error",
676
678
  "@typescript-eslint/no-misused-new": "error",
679
+ "@typescript-eslint/no-misused-promises": "error",
677
680
  "@typescript-eslint/no-namespace": "error",
678
681
  "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
679
682
  "@typescript-eslint/no-require-imports": "error",
@@ -684,7 +687,9 @@
684
687
  }
685
688
  ],
686
689
  "@typescript-eslint/no-this-alias": "error",
690
+ "@typescript-eslint/no-unnecessary-type-assertion": "warn",
687
691
  "@typescript-eslint/no-unnecessary-type-constraint": "error",
692
+ "@typescript-eslint/no-unnecessary-type-parameters": "warn",
688
693
  "@typescript-eslint/no-unsafe-declaration-merging": "error",
689
694
  "@typescript-eslint/no-unsafe-function-type": "error",
690
695
  "@typescript-eslint/no-unused-expressions": [
@@ -707,6 +712,12 @@
707
712
  "@typescript-eslint/prefer-for-of": "error",
708
713
  "@typescript-eslint/prefer-function-type": "error",
709
714
  "@typescript-eslint/prefer-namespace-keyword": "error",
715
+ "@typescript-eslint/prefer-nullish-coalescing": [
716
+ "warn",
717
+ {
718
+ "ignorePrimitives": true
719
+ }
720
+ ],
710
721
  "@typescript-eslint/quotes": "off",
711
722
  "@typescript-eslint/semi": "off",
712
723
  "@typescript-eslint/space-before-blocks": "off",
@@ -758,6 +769,13 @@
758
769
  ],
759
770
  "dot-location": "off",
760
771
  "eol-last": "off",
772
+ "eqeqeq": [
773
+ "error",
774
+ "always",
775
+ {
776
+ "null": "ignore"
777
+ }
778
+ ],
761
779
  "flowtype/boolean-style": "off",
762
780
  "flowtype/delimiter-dangle": "off",
763
781
  "flowtype/generic-spacing": "off",
@@ -863,11 +881,15 @@
863
881
  "off",
864
882
  "always"
865
883
  ],
884
+ "max-depth": [
885
+ "warn",
886
+ 4
887
+ ],
866
888
  "max-len": "off",
867
889
  "max-statements-per-line": "off",
868
890
  "multiline-ternary": "off",
869
891
  "new-parens": "off",
870
- "newline-before-return": "error",
892
+ "newline-before-return": "off",
871
893
  "newline-per-chained-call": "off",
872
894
  "no-array-constructor": "off",
873
895
  "no-arrow-condition": "off",
@@ -906,6 +928,12 @@
906
928
  "no-dupe-else-if": "error",
907
929
  "no-dupe-keys": "off",
908
930
  "no-duplicate-case": "error",
931
+ "no-else-return": [
932
+ "warn",
933
+ {
934
+ "allowElseIf": false
935
+ }
936
+ ],
909
937
  "no-empty": [
910
938
  "error",
911
939
  {
@@ -1689,7 +1717,7 @@
1689
1717
  "logical"
1690
1718
  ],
1691
1719
  "unicorn/consistent-date-clone": "error",
1692
- "unicorn/consistent-destructuring": "error",
1720
+ "unicorn/consistent-destructuring": "off",
1693
1721
  "unicorn/consistent-empty-array-spread": "error",
1694
1722
  "unicorn/consistent-existence-index-check": "error",
1695
1723
  "unicorn/consistent-export-decorator-position": [
@@ -1810,20 +1838,8 @@
1810
1838
  }
1811
1839
  ],
1812
1840
  "unicorn/name-replacements": [
1813
- "error",
1814
- {
1815
- "replacements": {
1816
- "dev": false,
1817
- "prod": false,
1818
- "props": false,
1819
- "ref": false,
1820
- "refs": false,
1821
- "args": false,
1822
- "params": false,
1823
- "utils": false,
1824
- "env": false
1825
- }
1826
- }
1841
+ "off",
1842
+ {}
1827
1843
  ],
1828
1844
  "unicorn/new-for-builtins": "error",
1829
1845
  "unicorn/no-abusive-eslint-disable": "error",
@@ -2025,7 +2041,7 @@
2025
2041
  "unicorn/no-unsafe-sqlite-interpolation": "error",
2026
2042
  "unicorn/no-unsafe-string-replacement": "error",
2027
2043
  "unicorn/no-unused-array-method-return": "error",
2028
- "unicorn/no-unused-properties": "error",
2044
+ "unicorn/no-unused-properties": "off",
2029
2045
  "unicorn/no-useless-boolean-cast": "error",
2030
2046
  "unicorn/no-useless-coercion": "error",
2031
2047
  "unicorn/no-useless-collection-argument": "error",
@@ -2485,7 +2501,7 @@
2485
2501
  "eslint-react": {
2486
2502
  "module": "src/eslint/eslint.config.react.js",
2487
2503
  "sampleFile": "src/examples/example.ts",
2488
- "ruleCount": 1215,
2504
+ "ruleCount": 1224,
2489
2505
  "rules": {
2490
2506
  "@babel/object-curly-spacing": "off",
2491
2507
  "@babel/semi": "off",
@@ -2802,7 +2818,7 @@
2802
2818
  "allow": "none"
2803
2819
  }
2804
2820
  ],
2805
- "@stylistic/jsx-props-no-multi-spaces": "error",
2821
+ "@stylistic/jsx-props-no-multi-spaces": "off",
2806
2822
  "@stylistic/jsx-quotes": [
2807
2823
  "off",
2808
2824
  "prefer-double"
@@ -3210,6 +3226,7 @@
3210
3226
  ],
3211
3227
  "@typescript-eslint/adjacent-overload-signatures": "error",
3212
3228
  "@typescript-eslint/array-type": "error",
3229
+ "@typescript-eslint/await-thenable": "error",
3213
3230
  "@typescript-eslint/ban-ts-comment": [
3214
3231
  "error",
3215
3232
  {
@@ -3256,8 +3273,10 @@
3256
3273
  "@typescript-eslint/no-extra-non-null-assertion": "error",
3257
3274
  "@typescript-eslint/no-extra-parens": "off",
3258
3275
  "@typescript-eslint/no-extra-semi": "off",
3276
+ "@typescript-eslint/no-floating-promises": "error",
3259
3277
  "@typescript-eslint/no-inferrable-types": "error",
3260
3278
  "@typescript-eslint/no-misused-new": "error",
3279
+ "@typescript-eslint/no-misused-promises": "error",
3261
3280
  "@typescript-eslint/no-namespace": "error",
3262
3281
  "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
3263
3282
  "@typescript-eslint/no-require-imports": "error",
@@ -3268,7 +3287,9 @@
3268
3287
  }
3269
3288
  ],
3270
3289
  "@typescript-eslint/no-this-alias": "error",
3290
+ "@typescript-eslint/no-unnecessary-type-assertion": "warn",
3271
3291
  "@typescript-eslint/no-unnecessary-type-constraint": "error",
3292
+ "@typescript-eslint/no-unnecessary-type-parameters": "warn",
3272
3293
  "@typescript-eslint/no-unsafe-declaration-merging": "error",
3273
3294
  "@typescript-eslint/no-unsafe-function-type": "error",
3274
3295
  "@typescript-eslint/no-unused-expressions": [
@@ -3291,6 +3312,12 @@
3291
3312
  "@typescript-eslint/prefer-for-of": "error",
3292
3313
  "@typescript-eslint/prefer-function-type": "error",
3293
3314
  "@typescript-eslint/prefer-namespace-keyword": "error",
3315
+ "@typescript-eslint/prefer-nullish-coalescing": [
3316
+ "warn",
3317
+ {
3318
+ "ignorePrimitives": true
3319
+ }
3320
+ ],
3294
3321
  "@typescript-eslint/quotes": "off",
3295
3322
  "@typescript-eslint/semi": "off",
3296
3323
  "@typescript-eslint/space-before-blocks": "off",
@@ -3342,6 +3369,13 @@
3342
3369
  ],
3343
3370
  "dot-location": "off",
3344
3371
  "eol-last": "off",
3372
+ "eqeqeq": [
3373
+ "error",
3374
+ "always",
3375
+ {
3376
+ "null": "ignore"
3377
+ }
3378
+ ],
3345
3379
  "flowtype/boolean-style": "off",
3346
3380
  "flowtype/delimiter-dangle": "off",
3347
3381
  "flowtype/generic-spacing": "off",
@@ -3447,11 +3481,15 @@
3447
3481
  "off",
3448
3482
  "always"
3449
3483
  ],
3484
+ "max-depth": [
3485
+ "warn",
3486
+ 4
3487
+ ],
3450
3488
  "max-len": "off",
3451
3489
  "max-statements-per-line": "off",
3452
3490
  "multiline-ternary": "off",
3453
3491
  "new-parens": "off",
3454
- "newline-before-return": "error",
3492
+ "newline-before-return": "off",
3455
3493
  "newline-per-chained-call": "off",
3456
3494
  "no-array-constructor": "off",
3457
3495
  "no-arrow-condition": "off",
@@ -3490,6 +3528,12 @@
3490
3528
  "no-dupe-else-if": "error",
3491
3529
  "no-dupe-keys": "off",
3492
3530
  "no-duplicate-case": "error",
3531
+ "no-else-return": [
3532
+ "warn",
3533
+ {
3534
+ "allowElseIf": false
3535
+ }
3536
+ ],
3493
3537
  "no-empty": [
3494
3538
  "error",
3495
3539
  {
@@ -4289,7 +4333,7 @@
4289
4333
  "logical"
4290
4334
  ],
4291
4335
  "unicorn/consistent-date-clone": "error",
4292
- "unicorn/consistent-destructuring": "error",
4336
+ "unicorn/consistent-destructuring": "off",
4293
4337
  "unicorn/consistent-empty-array-spread": "error",
4294
4338
  "unicorn/consistent-existence-index-check": "error",
4295
4339
  "unicorn/consistent-export-decorator-position": [
@@ -4410,20 +4454,8 @@
4410
4454
  }
4411
4455
  ],
4412
4456
  "unicorn/name-replacements": [
4413
- "error",
4414
- {
4415
- "replacements": {
4416
- "dev": false,
4417
- "prod": false,
4418
- "props": false,
4419
- "ref": false,
4420
- "refs": false,
4421
- "args": false,
4422
- "params": false,
4423
- "utils": false,
4424
- "env": false
4425
- }
4426
- }
4457
+ "off",
4458
+ {}
4427
4459
  ],
4428
4460
  "unicorn/new-for-builtins": "error",
4429
4461
  "unicorn/no-abusive-eslint-disable": "error",
@@ -4625,7 +4657,7 @@
4625
4657
  "unicorn/no-unsafe-sqlite-interpolation": "error",
4626
4658
  "unicorn/no-unsafe-string-replacement": "error",
4627
4659
  "unicorn/no-unused-array-method-return": "error",
4628
- "unicorn/no-unused-properties": "error",
4660
+ "unicorn/no-unused-properties": "off",
4629
4661
  "unicorn/no-useless-boolean-cast": "error",
4630
4662
  "unicorn/no-useless-coercion": "error",
4631
4663
  "unicorn/no-useless-collection-argument": "error",
@@ -5085,7 +5117,7 @@
5085
5117
  "eslint-solid": {
5086
5118
  "module": "src/eslint/eslint.config.solid.js",
5087
5119
  "sampleFile": "src/examples/example.solid.tsx",
5088
- "ruleCount": 1149,
5120
+ "ruleCount": 1158,
5089
5121
  "rules": {
5090
5122
  "@babel/object-curly-spacing": "off",
5091
5123
  "@babel/semi": "off",
@@ -5721,6 +5753,7 @@
5721
5753
  ],
5722
5754
  "@typescript-eslint/adjacent-overload-signatures": "error",
5723
5755
  "@typescript-eslint/array-type": "error",
5756
+ "@typescript-eslint/await-thenable": "error",
5724
5757
  "@typescript-eslint/ban-ts-comment": [
5725
5758
  "error",
5726
5759
  {
@@ -5767,8 +5800,10 @@
5767
5800
  "@typescript-eslint/no-extra-non-null-assertion": "error",
5768
5801
  "@typescript-eslint/no-extra-parens": "off",
5769
5802
  "@typescript-eslint/no-extra-semi": "off",
5803
+ "@typescript-eslint/no-floating-promises": "error",
5770
5804
  "@typescript-eslint/no-inferrable-types": "error",
5771
5805
  "@typescript-eslint/no-misused-new": "error",
5806
+ "@typescript-eslint/no-misused-promises": "error",
5772
5807
  "@typescript-eslint/no-namespace": "error",
5773
5808
  "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
5774
5809
  "@typescript-eslint/no-require-imports": "error",
@@ -5779,7 +5814,9 @@
5779
5814
  }
5780
5815
  ],
5781
5816
  "@typescript-eslint/no-this-alias": "error",
5817
+ "@typescript-eslint/no-unnecessary-type-assertion": "warn",
5782
5818
  "@typescript-eslint/no-unnecessary-type-constraint": "error",
5819
+ "@typescript-eslint/no-unnecessary-type-parameters": "warn",
5783
5820
  "@typescript-eslint/no-unsafe-declaration-merging": "error",
5784
5821
  "@typescript-eslint/no-unsafe-function-type": "error",
5785
5822
  "@typescript-eslint/no-unused-expressions": [
@@ -5802,6 +5839,12 @@
5802
5839
  "@typescript-eslint/prefer-for-of": "error",
5803
5840
  "@typescript-eslint/prefer-function-type": "error",
5804
5841
  "@typescript-eslint/prefer-namespace-keyword": "error",
5842
+ "@typescript-eslint/prefer-nullish-coalescing": [
5843
+ "warn",
5844
+ {
5845
+ "ignorePrimitives": true
5846
+ }
5847
+ ],
5805
5848
  "@typescript-eslint/quotes": "off",
5806
5849
  "@typescript-eslint/semi": "off",
5807
5850
  "@typescript-eslint/space-before-blocks": "off",
@@ -5853,6 +5896,13 @@
5853
5896
  ],
5854
5897
  "dot-location": "off",
5855
5898
  "eol-last": "off",
5899
+ "eqeqeq": [
5900
+ "error",
5901
+ "always",
5902
+ {
5903
+ "null": "ignore"
5904
+ }
5905
+ ],
5856
5906
  "flowtype/boolean-style": "off",
5857
5907
  "flowtype/delimiter-dangle": "off",
5858
5908
  "flowtype/generic-spacing": "off",
@@ -5958,11 +6008,15 @@
5958
6008
  "off",
5959
6009
  "always"
5960
6010
  ],
6011
+ "max-depth": [
6012
+ "warn",
6013
+ 4
6014
+ ],
5961
6015
  "max-len": "off",
5962
6016
  "max-statements-per-line": "off",
5963
6017
  "multiline-ternary": "off",
5964
6018
  "new-parens": "off",
5965
- "newline-before-return": "error",
6019
+ "newline-before-return": "off",
5966
6020
  "newline-per-chained-call": "off",
5967
6021
  "no-array-constructor": "off",
5968
6022
  "no-arrow-condition": "off",
@@ -6001,6 +6055,12 @@
6001
6055
  "no-dupe-else-if": "error",
6002
6056
  "no-dupe-keys": "off",
6003
6057
  "no-duplicate-case": "error",
6058
+ "no-else-return": [
6059
+ "warn",
6060
+ {
6061
+ "allowElseIf": false
6062
+ }
6063
+ ],
6004
6064
  "no-empty": [
6005
6065
  "error",
6006
6066
  {
@@ -6811,7 +6871,7 @@
6811
6871
  "logical"
6812
6872
  ],
6813
6873
  "unicorn/consistent-date-clone": "error",
6814
- "unicorn/consistent-destructuring": "error",
6874
+ "unicorn/consistent-destructuring": "off",
6815
6875
  "unicorn/consistent-empty-array-spread": "error",
6816
6876
  "unicorn/consistent-existence-index-check": "error",
6817
6877
  "unicorn/consistent-export-decorator-position": [
@@ -6932,20 +6992,8 @@
6932
6992
  }
6933
6993
  ],
6934
6994
  "unicorn/name-replacements": [
6935
- "error",
6936
- {
6937
- "replacements": {
6938
- "dev": false,
6939
- "prod": false,
6940
- "props": false,
6941
- "ref": false,
6942
- "refs": false,
6943
- "args": false,
6944
- "params": false,
6945
- "utils": false,
6946
- "env": false
6947
- }
6948
- }
6995
+ "off",
6996
+ {}
6949
6997
  ],
6950
6998
  "unicorn/new-for-builtins": "error",
6951
6999
  "unicorn/no-abusive-eslint-disable": "error",
@@ -7147,7 +7195,7 @@
7147
7195
  "unicorn/no-unsafe-sqlite-interpolation": "error",
7148
7196
  "unicorn/no-unsafe-string-replacement": "error",
7149
7197
  "unicorn/no-unused-array-method-return": "error",
7150
- "unicorn/no-unused-properties": "error",
7198
+ "unicorn/no-unused-properties": "off",
7151
7199
  "unicorn/no-useless-boolean-cast": "error",
7152
7200
  "unicorn/no-useless-coercion": "error",
7153
7201
  "unicorn/no-useless-collection-argument": "error",
@@ -7607,7 +7655,7 @@
7607
7655
  "eslint-next": {
7608
7656
  "module": "src/eslint/eslint.config.next.js",
7609
7657
  "sampleFile": "src/examples/example.ts",
7610
- "ruleCount": 1237,
7658
+ "ruleCount": 1246,
7611
7659
  "rules": {
7612
7660
  "@babel/object-curly-spacing": "off",
7613
7661
  "@babel/semi": "off",
@@ -7946,7 +7994,7 @@
7946
7994
  "allow": "none"
7947
7995
  }
7948
7996
  ],
7949
- "@stylistic/jsx-props-no-multi-spaces": "error",
7997
+ "@stylistic/jsx-props-no-multi-spaces": "off",
7950
7998
  "@stylistic/jsx-quotes": [
7951
7999
  "off",
7952
8000
  "prefer-double"
@@ -8354,6 +8402,7 @@
8354
8402
  ],
8355
8403
  "@typescript-eslint/adjacent-overload-signatures": "error",
8356
8404
  "@typescript-eslint/array-type": "error",
8405
+ "@typescript-eslint/await-thenable": "error",
8357
8406
  "@typescript-eslint/ban-ts-comment": [
8358
8407
  "error",
8359
8408
  {
@@ -8400,8 +8449,10 @@
8400
8449
  "@typescript-eslint/no-extra-non-null-assertion": "error",
8401
8450
  "@typescript-eslint/no-extra-parens": "off",
8402
8451
  "@typescript-eslint/no-extra-semi": "off",
8452
+ "@typescript-eslint/no-floating-promises": "error",
8403
8453
  "@typescript-eslint/no-inferrable-types": "error",
8404
8454
  "@typescript-eslint/no-misused-new": "error",
8455
+ "@typescript-eslint/no-misused-promises": "error",
8405
8456
  "@typescript-eslint/no-namespace": "error",
8406
8457
  "@typescript-eslint/no-non-null-asserted-optional-chain": "error",
8407
8458
  "@typescript-eslint/no-require-imports": "error",
@@ -8412,7 +8463,9 @@
8412
8463
  }
8413
8464
  ],
8414
8465
  "@typescript-eslint/no-this-alias": "error",
8466
+ "@typescript-eslint/no-unnecessary-type-assertion": "warn",
8415
8467
  "@typescript-eslint/no-unnecessary-type-constraint": "error",
8468
+ "@typescript-eslint/no-unnecessary-type-parameters": "warn",
8416
8469
  "@typescript-eslint/no-unsafe-declaration-merging": "error",
8417
8470
  "@typescript-eslint/no-unsafe-function-type": "error",
8418
8471
  "@typescript-eslint/no-unused-expressions": [
@@ -8435,6 +8488,12 @@
8435
8488
  "@typescript-eslint/prefer-for-of": "error",
8436
8489
  "@typescript-eslint/prefer-function-type": "error",
8437
8490
  "@typescript-eslint/prefer-namespace-keyword": "error",
8491
+ "@typescript-eslint/prefer-nullish-coalescing": [
8492
+ "warn",
8493
+ {
8494
+ "ignorePrimitives": true
8495
+ }
8496
+ ],
8438
8497
  "@typescript-eslint/quotes": "off",
8439
8498
  "@typescript-eslint/semi": "off",
8440
8499
  "@typescript-eslint/space-before-blocks": "off",
@@ -8486,6 +8545,13 @@
8486
8545
  ],
8487
8546
  "dot-location": "off",
8488
8547
  "eol-last": "off",
8548
+ "eqeqeq": [
8549
+ "error",
8550
+ "always",
8551
+ {
8552
+ "null": "ignore"
8553
+ }
8554
+ ],
8489
8555
  "flowtype/boolean-style": "off",
8490
8556
  "flowtype/delimiter-dangle": "off",
8491
8557
  "flowtype/generic-spacing": "off",
@@ -8591,11 +8657,15 @@
8591
8657
  "off",
8592
8658
  "always"
8593
8659
  ],
8660
+ "max-depth": [
8661
+ "warn",
8662
+ 4
8663
+ ],
8594
8664
  "max-len": "off",
8595
8665
  "max-statements-per-line": "off",
8596
8666
  "multiline-ternary": "off",
8597
8667
  "new-parens": "off",
8598
- "newline-before-return": "error",
8668
+ "newline-before-return": "off",
8599
8669
  "newline-per-chained-call": "off",
8600
8670
  "no-array-constructor": "off",
8601
8671
  "no-arrow-condition": "off",
@@ -8634,6 +8704,12 @@
8634
8704
  "no-dupe-else-if": "error",
8635
8705
  "no-dupe-keys": "off",
8636
8706
  "no-duplicate-case": "error",
8707
+ "no-else-return": [
8708
+ "warn",
8709
+ {
8710
+ "allowElseIf": false
8711
+ }
8712
+ ],
8637
8713
  "no-empty": [
8638
8714
  "error",
8639
8715
  {
@@ -9433,7 +9509,7 @@
9433
9509
  "logical"
9434
9510
  ],
9435
9511
  "unicorn/consistent-date-clone": "error",
9436
- "unicorn/consistent-destructuring": "error",
9512
+ "unicorn/consistent-destructuring": "off",
9437
9513
  "unicorn/consistent-empty-array-spread": "error",
9438
9514
  "unicorn/consistent-existence-index-check": "error",
9439
9515
  "unicorn/consistent-export-decorator-position": [
@@ -9554,20 +9630,8 @@
9554
9630
  }
9555
9631
  ],
9556
9632
  "unicorn/name-replacements": [
9557
- "error",
9558
- {
9559
- "replacements": {
9560
- "dev": false,
9561
- "prod": false,
9562
- "props": false,
9563
- "ref": false,
9564
- "refs": false,
9565
- "args": false,
9566
- "params": false,
9567
- "utils": false,
9568
- "env": false
9569
- }
9570
- }
9633
+ "off",
9634
+ {}
9571
9635
  ],
9572
9636
  "unicorn/new-for-builtins": "error",
9573
9637
  "unicorn/no-abusive-eslint-disable": "error",
@@ -9769,7 +9833,7 @@
9769
9833
  "unicorn/no-unsafe-sqlite-interpolation": "error",
9770
9834
  "unicorn/no-unsafe-string-replacement": "error",
9771
9835
  "unicorn/no-unused-array-method-return": "error",
9772
- "unicorn/no-unused-properties": "error",
9836
+ "unicorn/no-unused-properties": "off",
9773
9837
  "unicorn/no-useless-boolean-cast": "error",
9774
9838
  "unicorn/no-useless-coercion": "error",
9775
9839
  "unicorn/no-useless-collection-argument": "error",
@@ -10229,7 +10293,7 @@
10229
10293
  "eslint-svelte": {
10230
10294
  "module": "src/eslint/eslint-svelte.config.js",
10231
10295
  "sampleFile": "src/examples/example.svelte",
10232
- "ruleCount": 1158,
10296
+ "ruleCount": 1161,
10233
10297
  "rules": {
10234
10298
  "@babel/object-curly-spacing": "off",
10235
10299
  "@babel/semi": "off",
@@ -10953,6 +11017,13 @@
10953
11017
  ],
10954
11018
  "dot-location": "off",
10955
11019
  "eol-last": "off",
11020
+ "eqeqeq": [
11021
+ "error",
11022
+ "always",
11023
+ {
11024
+ "null": "ignore"
11025
+ }
11026
+ ],
10956
11027
  "flowtype/boolean-style": "off",
10957
11028
  "flowtype/delimiter-dangle": "off",
10958
11029
  "flowtype/generic-spacing": "off",
@@ -11059,11 +11130,15 @@
11059
11130
  "off",
11060
11131
  "always"
11061
11132
  ],
11133
+ "max-depth": [
11134
+ "warn",
11135
+ 4
11136
+ ],
11062
11137
  "max-len": "off",
11063
11138
  "max-statements-per-line": "off",
11064
11139
  "multiline-ternary": "off",
11065
11140
  "new-parens": "off",
11066
- "newline-before-return": "error",
11141
+ "newline-before-return": "off",
11067
11142
  "newline-per-chained-call": "off",
11068
11143
  "no-array-constructor": "off",
11069
11144
  "no-arrow-condition": "off",
@@ -11102,6 +11177,12 @@
11102
11177
  "no-dupe-else-if": "error",
11103
11178
  "no-dupe-keys": "error",
11104
11179
  "no-duplicate-case": "error",
11180
+ "no-else-return": [
11181
+ "warn",
11182
+ {
11183
+ "allowElseIf": false
11184
+ }
11185
+ ],
11105
11186
  "no-empty": [
11106
11187
  "error",
11107
11188
  {
@@ -11930,7 +12011,7 @@
11930
12011
  "logical"
11931
12012
  ],
11932
12013
  "unicorn/consistent-date-clone": "error",
11933
- "unicorn/consistent-destructuring": "error",
12014
+ "unicorn/consistent-destructuring": "off",
11934
12015
  "unicorn/consistent-empty-array-spread": "error",
11935
12016
  "unicorn/consistent-existence-index-check": "error",
11936
12017
  "unicorn/consistent-export-decorator-position": [
@@ -12051,20 +12132,8 @@
12051
12132
  }
12052
12133
  ],
12053
12134
  "unicorn/name-replacements": [
12054
- "error",
12055
- {
12056
- "replacements": {
12057
- "dev": false,
12058
- "prod": false,
12059
- "props": false,
12060
- "ref": false,
12061
- "refs": false,
12062
- "args": false,
12063
- "params": false,
12064
- "utils": false,
12065
- "env": false
12066
- }
12067
- }
12135
+ "off",
12136
+ {}
12068
12137
  ],
12069
12138
  "unicorn/new-for-builtins": "error",
12070
12139
  "unicorn/no-abusive-eslint-disable": "error",
@@ -12266,7 +12335,7 @@
12266
12335
  "unicorn/no-unsafe-sqlite-interpolation": "error",
12267
12336
  "unicorn/no-unsafe-string-replacement": "error",
12268
12337
  "unicorn/no-unused-array-method-return": "error",
12269
- "unicorn/no-unused-properties": "error",
12338
+ "unicorn/no-unused-properties": "off",
12270
12339
  "unicorn/no-useless-boolean-cast": "error",
12271
12340
  "unicorn/no-useless-coercion": "error",
12272
12341
  "unicorn/no-useless-collection-argument": "error",
@@ -14286,7 +14355,7 @@
14286
14355
  }
14287
14356
  ],
14288
14357
  "unicorn/name-replacements": [
14289
- "error",
14358
+ "off",
14290
14359
  {}
14291
14360
  ],
14292
14361
  "unicorn/new-for-builtins": "error",