@prowise/eslint-config-linting-rules 2.0.3 → 2.0.5

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 CHANGED
@@ -42,3 +42,7 @@ It is best NOT to use paths redirects.
42
42
  #### Installing a new version
43
43
  When trying to update the installed lining version by `npm i -D "@prowise/eslint-config-linting-rules@latest` you might get an error on a peer dependency.
44
44
  In this case you can uninstall the linter by `npm uninstall "@prowise/eslint-config-linting-rules` and reinstall it again with `npm i -D "@prowise/eslint-config-linting-rules@latest`
45
+
46
+ ## Version 2
47
+ This version contains several breaking changes. This version is only tested on a backend project.
48
+ For the moment: DO NOT USE this version on a frontend project! You best use the latest version 1.2.13
package/front-react.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import globals from "globals";
2
+ import base from "./base.js";
2
3
  import react from "./rules/plugin-react-rules.js";
4
+ import typescript from "./rules/plugin-typescript-rules.js";
3
5
  import vitest from "./rules/plugin-vitest-rules.js";
4
- import typescript from "./typescript.js";
5
6
 
6
7
  export default [
8
+ base,
7
9
  typescript,
8
10
  react,
9
11
  vitest,
package/front-solid.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import globals from "globals";
2
+ import base from "./base.js";
2
3
  import solid from "./rules/plugin-solid-rules.js";
4
+ import typescript from "./rules/plugin-typescript-rules.js";
3
5
  import vitest from "./rules/plugin-vitest-rules.js";
4
- import typescript from "./typescript.js";
5
6
 
6
7
  export default [
8
+ base,
7
9
  typescript,
8
10
  solid,
9
11
  vitest,
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@prowise/eslint-config-linting-rules","version":"2.0.3","description":"Default Prowise linting rules for npm packages.","main":"index.js","type":"module","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./front-react":"./front-react.js","./front-solid":"./front-solid.js"},"scripts":{"lint":"eslint","inspect":"eslint --inspect-config"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@stylistic/eslint-plugin":"^2.8.0","confusing-browser-globals":"^1.0.11","eslint":"^9.11.1","eslint-import-resolver-typescript":"^3.6.3","eslint-plugin-import-x":"^4.3.0","eslint-plugin-jest":"^28.8.3","eslint-plugin-jsdoc":"^50.2.4","eslint-plugin-jsx-a11y":"^6.10.0","eslint-plugin-n":"^17.10.3","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.36.1","eslint-plugin-solid":"^0.14.3","eslint-plugin-vitest":"^0.5.4","globals":"^15.9.0","typescript-eslint":"^8.7.0"},"devDependencies":{"@eslint/config-inspector":"^0.5.4"}}
1
+ {"name":"@prowise/eslint-config-linting-rules","version":"2.0.5","description":"Default Prowise linting rules for npm packages.","main":"index.js","type":"module","exports":{"./typescript":"./typescript.js","./backend":"./backend.js","./front-react":"./front-react.js","./front-solid":"./front-solid.js"},"scripts":{"lint":"eslint","inspect":"eslint --inspect-config"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@stylistic/eslint-plugin":"^2.11.0","confusing-browser-globals":"^1.0.11","eslint":"^9.16.0","eslint-import-resolver-typescript":"^3.7.0","eslint-plugin-import-x":"^4.5.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-jsdoc":"^50.6.0","eslint-plugin-jsx-a11y":"^6.10.2","eslint-plugin-n":"^17.14.0","eslint-plugin-prefer-arrow-functions":"^3.4.1","eslint-plugin-react":"^7.37.2","eslint-plugin-solid":"^0.14.4","eslint-plugin-vitest":"^0.5.4","globals":"^15.13.0","typescript-eslint":"^8.17.0"},"devDependencies":{"@eslint/config-inspector":"^0.5.6"}}
@@ -46,7 +46,7 @@ export default {
46
46
  * Disallow await inside of loops
47
47
  * https://eslint.org/docs/latest/rules/no-await-in-loop.
48
48
  */
49
- "no-await-in-loop": "off",
49
+ // "no-await-in-loop": "off",
50
50
 
51
51
  /**
52
52
  * Disallow modifying variables of class declarations ✅
@@ -154,7 +154,8 @@ export default {
154
154
  * Disallow empty destructuring patterns ✅
155
155
  * https://eslint.org/docs/latest/rules/no-empty-pattern.
156
156
  */
157
- "no-empty-static-block": "off",
157
+ // "no-empty-static-block": "off",
158
+
158
159
  /**
159
160
  * Disallow assigning to the exception in a catch block ✅
160
161
  * https://eslint.org/docs/latest/rules/no-ex-assign.
@@ -165,7 +166,7 @@ export default {
165
166
  * Disallow fallthrough of case statements ✅
166
167
  * https://eslint.org/docs/latest/rules/no-fallthrough.
167
168
  */
168
- "no-fallthrough": "off",
169
+ // "no-fallthrough": "off",
169
170
 
170
171
  /**
171
172
  * Disallow overwriting functions written as function declarations ✅
@@ -285,7 +286,7 @@ export default {
285
286
  * Disallow unmodified conditions of loops
286
287
  * https://eslint.org/docs/latest/rules/no-unmodified-loop-condition.
287
288
  */
288
- "no-unmodified-loop-condition": "off",
289
+ // "no-unmodified-loop-condition": "off",
289
290
 
290
291
  /**
291
292
  * Disallow unreachable statements after a return, throw, continue, or break statement ✅
@@ -346,7 +347,7 @@ export default {
346
347
  * note: not enabled because it is very buggy
347
348
  * https://eslint.org/docs/latest/rules/require-atomic-updates.
348
349
  */
349
- "require-atomic-updates": "off",
350
+ // "require-atomic-updates": "off",
350
351
 
351
352
  /**
352
353
  * Disallow comparisons with the value NaN ✅
@@ -366,7 +367,7 @@ export default {
366
367
  * Enforces getter/setter pairs in objects
367
368
  * https://eslint.org/docs/latest/rules/accessor-pairs.
368
369
  */
369
- "accessor-pairs": "off",
370
+ // "accessor-pairs": "off",
370
371
 
371
372
  /**
372
373
  * Enforces no braces where they can be omitted 🔧
@@ -390,56 +391,56 @@ export default {
390
391
  * Enforce or disallow capitalization of the first letter of a comment 🔧
391
392
  * https://eslint.org/docs/latest/rules/capitalized-comments.
392
393
  */
393
- "capitalized-comments": [
394
- "off",
395
- "never",
396
- {
397
- line: {
398
- ignorePattern: ".*",
399
- ignoreInlineComments: true,
400
- ignoreConsecutiveComments: true,
401
- },
402
- block: {
403
- ignorePattern: ".*",
404
- ignoreInlineComments: true,
405
- ignoreConsecutiveComments: true,
406
- },
407
- },
408
- ],
394
+ // "capitalized-comments": [
395
+ // "off",
396
+ // "never",
397
+ // {
398
+ // line: {
399
+ // ignorePattern: ".*",
400
+ // ignoreInlineComments: true,
401
+ // ignoreConsecutiveComments: true,
402
+ // },
403
+ // block: {
404
+ // ignorePattern: ".*",
405
+ // ignoreInlineComments: true,
406
+ // ignoreConsecutiveComments: true,
407
+ // },
408
+ // },
409
+ // ],
409
410
 
410
411
  /**
411
412
  * Enforce that class methods use "this"
412
413
  * https://eslint.org/docs/latest/rules/class-methods-use-this.
413
414
  */
414
- "class-methods-use-this": [
415
- "off",
416
- {
417
- exceptMethods: [
418
- "render",
419
- "getInitialState",
420
- "getDefaultProps",
421
- "getChildContext",
422
- "componentWillMount",
423
- "UNSAFE_componentWillMount",
424
- "componentDidMount",
425
- "componentWillReceiveProps",
426
- "UNSAFE_componentWillReceiveProps",
427
- "shouldComponentUpdate",
428
- "componentWillUpdate",
429
- "UNSAFE_componentWillUpdate",
430
- "componentDidUpdate",
431
- "componentWillUnmount",
432
- "componentDidCatch",
433
- "getSnapshotBeforeUpdate",
434
- ],
435
- },
436
- ],
415
+ // "class-methods-use-this": [
416
+ // "off",
417
+ // {
418
+ // exceptMethods: [
419
+ // "render",
420
+ // "getInitialState",
421
+ // "getDefaultProps",
422
+ // "getChildContext",
423
+ // "componentWillMount",
424
+ // "UNSAFE_componentWillMount",
425
+ // "componentDidMount",
426
+ // "componentWillReceiveProps",
427
+ // "UNSAFE_componentWillReceiveProps",
428
+ // "shouldComponentUpdate",
429
+ // "componentWillUpdate",
430
+ // "UNSAFE_componentWillUpdate",
431
+ // "componentDidUpdate",
432
+ // "componentWillUnmount",
433
+ // "componentDidCatch",
434
+ // "getSnapshotBeforeUpdate",
435
+ // ],
436
+ // },
437
+ // ],
437
438
 
438
439
  /**
439
440
  * Specify the maximum cyclomatic complexity allowed in a program
440
441
  * https://eslint.org/docs/latest/rules/complexity.
441
442
  */
442
- "complexity": ["off", 20],
443
+ // "complexity": ["off", 20],
443
444
 
444
445
  /**
445
446
  * Require return statements to either always or never specify values
@@ -451,7 +452,7 @@ export default {
451
452
  * Enforces consistent naming when capturing the current execution context
452
453
  * https://eslint.org/docs/latest/rules/consistent-this.
453
454
  */
454
- "consistent-this": "off",
455
+ // "consistent-this": "off",
455
456
 
456
457
  /**
457
458
  * Specify curly brace conventions for all control statements 🔧
@@ -493,17 +494,17 @@ export default {
493
494
  * Requires function names to match the name of the variable or property to which they are assigned
494
495
  * https://eslint.org/docs/latest/rules/func-name-matching.
495
496
  */
496
- "func-name-matching": [
497
- "off",
498
- "always",
499
- { includeCommonJSModuleExports: false, considerPropertyDescriptor: true },
500
- ],
497
+ // "func-name-matching": [
498
+ // "off",
499
+ // "always",
500
+ // { includeCommonJSModuleExports: false, considerPropertyDescriptor: true },
501
+ // ],
501
502
 
502
503
  /**
503
504
  * Require function expressions to have a name
504
505
  * https://eslint.org/docs/latest/rules/func-names.
505
506
  */
506
- "func-names": "off",
507
+ // "func-names": "off",
507
508
 
508
509
  /**
509
510
  * Enforces use of function declarations
@@ -522,7 +523,7 @@ export default {
522
523
  * Off: not really a thing anymore
523
524
  * https://eslint.org/docs/latest/rules/guard-for-in.
524
525
  */
525
- "guard-for-in": "off",
526
+ // "guard-for-in": "off",
526
527
 
527
528
  /**
528
529
  * Disallow specified identifiers
@@ -536,7 +537,7 @@ export default {
536
537
  * (variable names, property names etc.)
537
538
  * https://eslint.org/docs/latest/rules/id-length.
538
539
  */
539
- "id-length": "off",
540
+ // "id-length": "off",
540
541
 
541
542
  /**
542
543
  * Require identifiers to match the provided regular expression
@@ -548,57 +549,57 @@ export default {
548
549
  * Enforce or disallow variable initializations at definition
549
550
  * https://eslint.org/docs/latest/rules/init-declarations.
550
551
  */
551
- "init-declarations": "off",
552
+ // "init-declarations": "off",
552
553
 
553
554
  /**
554
555
  * Enforce a maximum number of classes per file
555
556
  * https://eslint.org/docs/latest/rules/max-classes-per-file.
556
557
  */
557
- "max-classes-per-file": "off",
558
+ // "max-classes-per-file": "off",
558
559
 
559
560
  /**
560
561
  * Specify the maximum depth that blocks can be nested
561
562
  * https://eslint.org/docs/latest/rules/max-depth.
562
563
  */
563
- "max-depth": ["off", 4],
564
+ // "max-depth": ["off", 4],
564
565
 
565
566
  /**
566
567
  * Specify the max number of lines in a file
567
568
  * https://eslint.org/docs/latest/rules/max-lines.
568
569
  */
569
- "max-lines": ["off", { max: 300, skipBlankLines: true, skipComments: true }],
570
+ // "max-lines": ["off", { max: 300, skipBlankLines: true, skipComments: true }],
570
571
 
571
572
  /**
572
573
  * Enforce a maximum function length
573
574
  * https://eslint.org/docs/latest/rules/max-lines-per-function.
574
575
  */
575
- "max-lines-per-function": [
576
- "off",
577
- {
578
- max: 50,
579
- skipBlankLines: true,
580
- skipComments: true,
581
- IIFEs: true,
582
- },
583
- ],
576
+ // "max-lines-per-function": [
577
+ // "off",
578
+ // {
579
+ // max: 50,
580
+ // skipBlankLines: true,
581
+ // skipComments: true,
582
+ // IIFEs: true,
583
+ // },
584
+ // ],
584
585
 
585
586
  /**
586
587
  * Specify the maximum depth callbacks can be nested
587
588
  * https://eslint.org/docs/latest/rules/max-nested-callbacks.
588
589
  */
589
- "max-nested-callbacks": "off",
590
+ // "max-nested-callbacks": "off",
590
591
 
591
592
  /**
592
593
  * Limits the number of parameters that can be used in the function declaration.
593
594
  * Https://eslint.org/docs/latest/rules/max-params.
594
595
  */
595
- "max-params": ["off", 3],
596
+ // "max-params": ["off", 3],
596
597
 
597
598
  /**
598
599
  * Specify the maximum number of statement allowed in a function
599
600
  * https://eslint.org/docs/latest/rules/max-statements.
600
601
  */
601
- "max-statements": ["off", 10],
602
+ // "max-statements": ["off", 10],
602
603
 
603
604
  /**
604
605
  * Require a capital letter for constructors
@@ -648,13 +649,13 @@ export default {
648
649
  * Disallow use of console
649
650
  * https://eslint.org/docs/latest/rules/no-console.
650
651
  */
651
- "no-console": "off",
652
+ // "no-console": "off",
652
653
 
653
654
  /**
654
655
  * Disallow use of the continue statement
655
656
  * https://eslint.org/docs/latest/rules/no-continue.
656
657
  */
657
- "no-continue": "off",
658
+ // "no-continue": "off",
658
659
 
659
660
  /**
660
661
  * Disallow deletion of variables ✅
@@ -666,7 +667,7 @@ export default {
666
667
  * Disallow division operators explicitly at beginning of regular expression 🔧
667
668
  * https://eslint.org/docs/latest/rules/no-div-regex.
668
669
  */
669
- "no-div-regex": "off",
670
+ // "no-div-regex": "off",
670
671
 
671
672
  /**
672
673
  * Disallow else after a return in an if 🔧
@@ -695,7 +696,7 @@ export default {
695
696
  * Disallow comparisons to null without a type-checking operator
696
697
  * https://eslint.org/docs/latest/rules/no-eq-null.
697
698
  */
698
- "no-eq-null": "off",
699
+ // "no-eq-null": "off",
699
700
 
700
701
  /**
701
702
  * Disallow use of eval()
@@ -737,21 +738,21 @@ export default {
737
738
  * Disallow implicit type conversions 🔧
738
739
  * https://eslint.org/docs/latest/rules/no-implicit-coercion.
739
740
  */
740
- "no-implicit-coercion": [
741
- "off",
742
- {
743
- boolean: false,
744
- number: true,
745
- string: true,
746
- allow: [],
747
- },
748
- ],
741
+ // "no-implicit-coercion": [
742
+ // "off",
743
+ // {
744
+ // boolean: false,
745
+ // number: true,
746
+ // string: true,
747
+ // allow: [],
748
+ // },
749
+ // ],
749
750
 
750
751
  /**
751
752
  * Disallow var and named functions in global scope
752
753
  * https://eslint.org/docs/latest/rules/no-implicit-globals.
753
754
  */
754
- "no-implicit-globals": "off",
755
+ // "no-implicit-globals": "off",
755
756
 
756
757
  /**
757
758
  * Disallow use of eval()-like methods
@@ -763,13 +764,13 @@ export default {
763
764
  * Disallow comments inline after code
764
765
  * https://eslint.org/docs/latest/rules/no-inline-comments.
765
766
  */
766
- "no-inline-comments": "off",
767
+ // "no-inline-comments": "off",
767
768
 
768
769
  /**
769
770
  * Disallow this keywords outside of classes or class-like objects
770
771
  * https://eslint.org/docs/latest/rules/no-invalid-this.
771
772
  */
772
- "no-invalid-this": "off",
773
+ // "no-invalid-this": "off",
773
774
 
774
775
  /**
775
776
  * Disallow usage of __iterator__ property
@@ -811,15 +812,15 @@ export default {
811
812
  * Disallow magic numbers
812
813
  * https://eslint.org/docs/latest/rules/no-magic-numbers.
813
814
  */
814
- "no-magic-numbers": [
815
- "off",
816
- {
817
- ignore: [],
818
- ignoreArrayIndexes: true,
819
- enforceConst: true,
820
- detectObjects: false,
821
- },
822
- ],
815
+ // "no-magic-numbers": [
816
+ // "off",
817
+ // {
818
+ // ignore: [],
819
+ // ignoreArrayIndexes: true,
820
+ // enforceConst: true,
821
+ // detectObjects: false,
822
+ // },
823
+ // ],
823
824
 
824
825
  /**
825
826
  * Disallow use of chained assignment expressions
@@ -837,13 +838,13 @@ export default {
837
838
  * Disallow negated conditions
838
839
  * https://eslint.org/docs/latest/rules/no-negated-condition.
839
840
  */
840
- "no-negated-condition": "off",
841
+ // "no-negated-condition": "off",
841
842
 
842
843
  /**
843
844
  * Disallow nested ternary expressions
844
845
  * https://eslint.org/docs/latest/rules/no-nested-ternary.
845
846
  */
846
- "no-nested-ternary": "off",
847
+ // "no-nested-ternary": "off",
847
848
 
848
849
  /**
849
850
  * Disallow use of new operator when not part of the assignment or comparison
@@ -897,7 +898,7 @@ export default {
897
898
  * Disallow use of unary operators, ++ and --
898
899
  * https://eslint.org/docs/latest/rules/no-plusplus.
899
900
  */
900
- "no-plusplus": "off",
901
+ // "no-plusplus": "off",
901
902
 
902
903
  /**
903
904
  * Disallow usage of __proto__ property
@@ -951,7 +952,7 @@ export default {
951
952
  * Disallow specific imports
952
953
  * https://eslint.org/docs/latest/rules/no-restricted-imports.
953
954
  */
954
- "no-restricted-imports": ["off", { paths: [], patterns: [] }],
955
+ // "no-restricted-imports": ["off", { paths: [], patterns: [] }],
955
956
 
956
957
  /**
957
958
  * Disallow certain object properties
@@ -1031,7 +1032,7 @@ export default {
1031
1032
  * Disallow use of assignment in return statement
1032
1033
  * https://eslint.org/docs/latest/rules/no-return-assign.
1033
1034
  */
1034
- "no-return-assign": "off",
1035
+ // "no-return-assign": "off",
1035
1036
 
1036
1037
  /**
1037
1038
  * Disallow use of `javascript:` urls.
@@ -1061,7 +1062,7 @@ export default {
1061
1062
  * Disallow the use of ternary operators
1062
1063
  * https://eslint.org/docs/latest/rules/no-ternary.
1063
1064
  */
1064
- "no-ternary": "off",
1065
+ // "no-ternary": "off",
1065
1066
 
1066
1067
  /**
1067
1068
  * Restrict what can be thrown as an exception
@@ -1079,22 +1080,22 @@ export default {
1079
1080
  * Disallow use of undefined variable
1080
1081
  * https://eslint.org/docs/latest/rules/no-undefined.
1081
1082
  */
1082
- "no-undefined": "off",
1083
+ // "no-undefined": "off",
1083
1084
 
1084
1085
  /**
1085
1086
  * Disallow dangling underscores in identifiers
1086
1087
  * https://eslint.org/docs/latest/rules/no-underscore-dangle.
1087
1088
  */
1088
- "no-underscore-dangle": [
1089
- "off",
1090
- {
1091
- allow: [],
1092
- allowAfterThis: true,
1093
- allowFunctionParams: true,
1094
- allowAfterSuper: false,
1095
- enforceInMethodNames: true,
1096
- },
1097
- ],
1089
+ // "no-underscore-dangle": [
1090
+ // "off",
1091
+ // {
1092
+ // allow: [],
1093
+ // allowAfterThis: true,
1094
+ // allowFunctionParams: true,
1095
+ // allowAfterSuper: false,
1096
+ // enforceInMethodNames: true,
1097
+ // },
1098
+ // ],
1098
1099
 
1099
1100
  /**
1100
1101
  * Disallow the use of Boolean literals in conditional expressions 🔧
@@ -1187,13 +1188,13 @@ export default {
1187
1188
  * Disallow use of void operator
1188
1189
  * https://eslint.org/docs/latest/rules/no-void.
1189
1190
  */
1190
- "no-void": "off",
1191
+ // "no-void": "off",
1191
1192
 
1192
1193
  /**
1193
1194
  * Disallow usage of configurable warning terms in comments: e.g. Todo
1194
1195
  * https://eslint.org/docs/latest/rules/no-warning-comments.
1195
1196
  */
1196
- "no-warning-comments": ["off", { terms: ["todo", "fixme", "xxx"], location: "start" }],
1197
+ // "no-warning-comments": ["off", { terms: ["todo", "fixme", "xxx"], location: "start" }],
1197
1198
 
1198
1199
  /**
1199
1200
  * Disallow use of the with statement ✅
@@ -1256,7 +1257,7 @@ export default {
1256
1257
  * Suggest using named capture group in regular expression
1257
1258
  * https://eslint.org/docs/latest/rules/prefer-named-capture-group.
1258
1259
  */
1259
- "prefer-named-capture-group": "off",
1260
+ // "prefer-named-capture-group": "off",
1260
1261
 
1261
1262
  /**
1262
1263
  * Disallow parseInt() in favor of binary, octal, and hexadecimal literals 🔧
@@ -1269,7 +1270,7 @@ export default {
1269
1270
  * https://eslint.org/docs/latest/rules/prefer-object-has-own.
1270
1271
  * Turned off: only supported with ES2022 and node 18: can be turned on when all projects support node18/ES2022.
1271
1272
  */
1272
- "prefer-object-has-own": "off",
1273
+ // "prefer-object-has-own": "off",
1273
1274
 
1274
1275
  /**
1275
1276
  * Prefer use of an object spread over Object.assign 🔧
@@ -1317,13 +1318,13 @@ export default {
1317
1318
  * Require `await` in `async function` (note: this is a horrible rule that should never be used)
1318
1319
  * https://eslint.org/docs/latest/rules/require-await.
1319
1320
  */
1320
- "require-await": "off",
1321
+ // "require-await": "off",
1321
1322
 
1322
1323
  /**
1323
1324
  * Enforce the use of u flag on RegExp
1324
1325
  * https://eslint.org/docs/latest/rules/require-unicode-regexp.
1325
1326
  */
1326
- "require-unicode-regexp": "off",
1327
+ // "require-unicode-regexp": "off",
1327
1328
 
1328
1329
  /**
1329
1330
  * Disallow generator functions that do not have yield ✅
@@ -1335,27 +1336,27 @@ export default {
1335
1336
  * Import sorting 🔧
1336
1337
  * https://eslint.org/docs/latest/rules/sort-imports.
1337
1338
  */
1338
- "sort-imports": [
1339
- "off",
1340
- {
1341
- ignoreCase: false,
1342
- ignoreDeclarationSort: false,
1343
- ignoreMemberSort: false,
1344
- memberSyntaxSortOrder: ["none", "all", "multiple", "single"],
1345
- },
1346
- ],
1339
+ // "sort-imports": [
1340
+ // "off",
1341
+ // {
1342
+ // ignoreCase: false,
1343
+ // ignoreDeclarationSort: false,
1344
+ // ignoreMemberSort: false,
1345
+ // memberSyntaxSortOrder: ["none", "all", "multiple", "single"],
1346
+ // },
1347
+ // ],
1347
1348
 
1348
1349
  /**
1349
1350
  * Requires object keys to be sorted
1350
1351
  * https://eslint.org/docs/latest/rules/sort-keys.
1351
1352
  */
1352
- "sort-keys": ["off", "asc", { caseSensitive: false, natural: true }],
1353
+ // "sort-keys": ["off", "asc", { caseSensitive: false, natural: true }],
1353
1354
 
1354
1355
  /**
1355
1356
  * Sort variables within the same declaration block 🔧
1356
1357
  * https://eslint.org/docs/latest/rules/sort-vars.
1357
1358
  */
1358
- "sort-vars": "off",
1359
+ // "sort-vars": "off",
1359
1360
 
1360
1361
  /**
1361
1362
  * Require or disallow strict mode directives 🔧