@ntnyq/eslint-config 3.1.2 → 3.2.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.
package/dist/index.cjs CHANGED
@@ -815,22 +815,35 @@ var sort = (options = {}) => {
815
815
  {
816
816
  pathPattern: "^$",
817
817
  order: [
818
+ /**
819
+ * Meta
820
+ */
818
821
  "publisher",
819
822
  "name",
820
823
  "displayName",
821
824
  "preview",
822
825
  "type",
826
+ "config",
823
827
  "version",
824
828
  "private",
825
829
  "packageManager",
830
+ "workspaces",
826
831
  "description",
827
832
  "keywords",
828
833
  "license",
834
+ "licenses",
829
835
  "author",
836
+ "contributors",
837
+ "maintainers",
830
838
  "homepage",
831
839
  "repository",
840
+ "bugs",
832
841
  "funding",
842
+ /**
843
+ * Publish
844
+ */
833
845
  "exports",
846
+ "imports",
834
847
  "main",
835
848
  "module",
836
849
  "unpkg",
@@ -841,20 +854,39 @@ var sort = (options = {}) => {
841
854
  "bin",
842
855
  "icon",
843
856
  "files",
857
+ "directories",
858
+ "publishConfig",
859
+ /**
860
+ * Misc
861
+ */
844
862
  "sideEffects",
845
863
  "scripts",
864
+ /**
865
+ * Dependencies
866
+ */
846
867
  "peerDependencies",
847
868
  "peerDependenciesMeta",
869
+ "bundledDependencies",
870
+ "bundleDependencies",
848
871
  "dependencies",
849
872
  "optionalDependencies",
850
873
  "devDependencies",
874
+ /**
875
+ * VSCode extension
876
+ */
851
877
  "activationEvents",
852
878
  "contributes",
853
879
  "categories",
880
+ /**
881
+ * Package manager
882
+ */
854
883
  "engines",
855
884
  "pnpm",
856
885
  "overrides",
857
886
  "resolutions",
887
+ /**
888
+ * Third party
889
+ */
858
890
  "husky",
859
891
  "prettier",
860
892
  "nano-staged",
package/dist/index.js CHANGED
@@ -690,22 +690,35 @@ var sort = (options = {}) => {
690
690
  {
691
691
  pathPattern: "^$",
692
692
  order: [
693
+ /**
694
+ * Meta
695
+ */
693
696
  "publisher",
694
697
  "name",
695
698
  "displayName",
696
699
  "preview",
697
700
  "type",
701
+ "config",
698
702
  "version",
699
703
  "private",
700
704
  "packageManager",
705
+ "workspaces",
701
706
  "description",
702
707
  "keywords",
703
708
  "license",
709
+ "licenses",
704
710
  "author",
711
+ "contributors",
712
+ "maintainers",
705
713
  "homepage",
706
714
  "repository",
715
+ "bugs",
707
716
  "funding",
717
+ /**
718
+ * Publish
719
+ */
708
720
  "exports",
721
+ "imports",
709
722
  "main",
710
723
  "module",
711
724
  "unpkg",
@@ -716,20 +729,39 @@ var sort = (options = {}) => {
716
729
  "bin",
717
730
  "icon",
718
731
  "files",
732
+ "directories",
733
+ "publishConfig",
734
+ /**
735
+ * Misc
736
+ */
719
737
  "sideEffects",
720
738
  "scripts",
739
+ /**
740
+ * Dependencies
741
+ */
721
742
  "peerDependencies",
722
743
  "peerDependenciesMeta",
744
+ "bundledDependencies",
745
+ "bundleDependencies",
723
746
  "dependencies",
724
747
  "optionalDependencies",
725
748
  "devDependencies",
749
+ /**
750
+ * VSCode extension
751
+ */
726
752
  "activationEvents",
727
753
  "contributes",
728
754
  "categories",
755
+ /**
756
+ * Package manager
757
+ */
729
758
  "engines",
730
759
  "pnpm",
731
760
  "overrides",
732
761
  "resolutions",
762
+ /**
763
+ * Third party
764
+ */
733
765
  "husky",
734
766
  "prettier",
735
767
  "nano-staged",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.1.2",
4
+ "version": "3.2.0",
5
5
  "packageManager": "pnpm@9.12.3",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
@@ -35,6 +35,9 @@
35
35
  "files": [
36
36
  "dist"
37
37
  ],
38
+ "publishConfig": {
39
+ "access": "public"
40
+ },
38
41
  "scripts": {
39
42
  "build": "pnpm run generate:type && tsup",
40
43
  "clean": "rimraf dist",
@@ -48,17 +51,13 @@
48
51
  "release:version": "bumpp && npm publish",
49
52
  "typecheck": "tsc --noEmit"
50
53
  },
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
54
  "peerDependencies": {
55
55
  "eslint": "^9.0.0"
56
56
  },
57
57
  "dependencies": {
58
58
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
59
- "@eslint/js": "^9.13.0",
59
+ "@eslint/js": "^9.14.0",
60
60
  "@eslint/markdown": "^6.2.1",
61
- "@types/eslint__js": "^8.42.3",
62
61
  "@unocss/eslint-plugin": "^0.63.6",
63
62
  "@vitest/eslint-plugin": "^1.1.7",
64
63
  "eslint-config-flat-gitignore": "^0.3.0",
@@ -92,17 +91,17 @@
92
91
  "@ntnyq/prettier-config": "^1.21.3",
93
92
  "@types/node": "^22.8.6",
94
93
  "bumpp": "^9.8.0",
95
- "eslint": "^9.13.0",
94
+ "eslint": "^9.14.0",
96
95
  "eslint-typegen": "^0.3.2",
97
96
  "husky": "^9.1.6",
98
- "jiti": "^2.3.3",
97
+ "jiti": "^2.4.0",
99
98
  "nano-staged": "^0.8.0",
100
99
  "npm-run-all2": "^7.0.1",
101
100
  "rimraf": "^6.0.1",
102
101
  "tsup": "^8.3.5",
103
102
  "tsx": "^4.19.2",
104
103
  "typescript": "^5.6.3",
105
- "zx": "^8.1.9"
104
+ "zx": "^8.2.0"
106
105
  },
107
106
  "engines": {
108
107
  "node": ">=18.18.0"