@tb-dev/eslint-config 7.1.10 → 8.0.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -35
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -438,7 +438,7 @@ function javascript(options) {
438
438
  "no-sparse-arrays": "error",
439
439
  "no-template-curly-in-string": "error",
440
440
  "no-undef-init": "error",
441
- "no-undefined": "error",
441
+ "no-undefined": "off",
442
442
  "no-unexpected-multiline": "error",
443
443
  "no-unmodified-loop-condition": "error",
444
444
  "no-unneeded-ternary": ["error", { defaultAssignment: false }],
@@ -707,7 +707,7 @@ async function typescript(options) {
707
707
  "@typescript-eslint/prefer-for-of": "error",
708
708
  "@typescript-eslint/prefer-function-type": "off",
709
709
  "@typescript-eslint/prefer-includes": "error",
710
- "@typescript-eslint/prefer-literal-enum-member": "error",
710
+ "@typescript-eslint/prefer-literal-enum-member": ["error", { allowBitwiseExpressions: true }],
711
711
  "@typescript-eslint/prefer-nullish-coalescing": [
712
712
  "error",
713
713
  {
@@ -745,6 +745,7 @@ async function typescript(options) {
745
745
  "@typescript-eslint/restrict-template-expressions": "error",
746
746
  "no-return-await": "off",
747
747
  "@typescript-eslint/return-await": ["error", "in-try-catch"],
748
+ "@typescript-eslint/sort-type-constituents": "off",
748
749
  "@typescript-eslint/strict-boolean-expressions": "off",
749
750
  "@typescript-eslint/switch-exhaustiveness-check": [
750
751
  "error",
@@ -798,13 +799,7 @@ async function perfectionist(options) {
798
799
  groupKind: "literals-first"
799
800
  }
800
801
  ],
801
- "perfectionist/sort-enums": [
802
- "error",
803
- {
804
- type: "natural",
805
- order: "asc"
806
- }
807
- ],
802
+ "perfectionist/sort-enums": "off",
808
803
  "perfectionist/sort-exports": [
809
804
  "error",
810
805
  {
@@ -823,15 +818,7 @@ async function perfectionist(options) {
823
818
  groups: [["side-effect-style", "side-effect"], "unknown"]
824
819
  }
825
820
  ],
826
- "perfectionist/sort-interfaces": [
827
- "error",
828
- {
829
- type: "natural",
830
- order: "asc",
831
- ignoreCase: true,
832
- partitionByNewLine: true
833
- }
834
- ],
821
+ "perfectionist/sort-interfaces": "off",
835
822
  "perfectionist/sort-intersection-types": [
836
823
  "error",
837
824
  {
@@ -861,23 +848,9 @@ async function perfectionist(options) {
861
848
  order: "asc"
862
849
  }
863
850
  ],
864
- "@typescript-eslint/adjacent-overload-signatures": "off",
865
- "perfectionist/sort-object-types": [
866
- "error",
867
- {
868
- type: "natural",
869
- order: "asc",
870
- partitionByNewLine: true
871
- }
872
- ],
873
- "perfectionist/sort-switch-case": [
874
- "error",
875
- {
876
- type: "natural",
877
- order: "asc",
878
- ignoreCase: true
879
- }
880
- ],
851
+ "perfectionist/sort-object-types": "off",
852
+ "perfectionist/sort-union-types": "off",
853
+ "perfectionist/sort-switch-case": "off",
881
854
  ...options.overrides?.perfectionist
882
855
  }
883
856
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "7.1.10",
3
+ "version": "8.0.1",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,8 +21,8 @@
21
21
  "vue"
22
22
  ],
23
23
  "dependencies": {
24
- "@typescript-eslint/eslint-plugin": "^8.35.1",
25
- "@typescript-eslint/parser": "^8.35.1",
24
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
25
+ "@typescript-eslint/parser": "^8.37.0",
26
26
  "eslint-plugin-perfectionist": "^4.15.0",
27
27
  "eslint-plugin-unicorn": "^59.0.1",
28
28
  "eslint-plugin-vue": "^10.3.0",
@@ -30,12 +30,12 @@
30
30
  "vue-eslint-parser": "^10.2.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/node": "^24.0.10",
34
- "eslint": "^9.30.1",
33
+ "@types/node": "^24.0.15",
34
+ "eslint": "^9.31.0",
35
35
  "prettier": "^3.6.2",
36
36
  "tslib": "^2.8.1",
37
37
  "typescript": "^5.8.3",
38
- "vite": "^7.0.0",
38
+ "vite": "^7.0.5",
39
39
  "vite-plugin-dts": "^4.5.4"
40
40
  },
41
41
  "engines": {