@coderwyd/eslint-config 2.5.0-beta.2 → 2.5.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/cli.cjs CHANGED
@@ -46,7 +46,7 @@ var import_parse_gitignore = __toESM(require("parse-gitignore"), 1);
46
46
  var import_picocolors = __toESM(require("picocolors"), 1);
47
47
 
48
48
  // package.json
49
- var version = "2.5.0-beta.2";
49
+ var version = "2.5.0";
50
50
  var devDependencies = {
51
51
  "@antfu/ni": "^0.21.12",
52
52
  "@eslint-react/eslint-plugin": "^1.5.12",
@@ -57,7 +57,7 @@ var devDependencies = {
57
57
  "@types/node": "^20.12.12",
58
58
  "@types/prompts": "^2.4.9",
59
59
  "@types/yargs": "^17.0.32",
60
- "@unocss/eslint-plugin": "^0.60.2",
60
+ "@unocss/eslint-plugin": "^0.60.3",
61
61
  bumpp: "^9.4.1",
62
62
  eslint: "^9.3.0",
63
63
  "eslint-plugin-react": "^7.34.1",
@@ -67,7 +67,7 @@ var devDependencies = {
67
67
  execa: "^9.1.0",
68
68
  "fast-glob": "^3.3.2",
69
69
  "fs-extra": "^11.2.0",
70
- "lint-staged": "^15.2.2",
70
+ "lint-staged": "^15.2.4",
71
71
  rimraf: "^5.0.7",
72
72
  "simple-git-hooks": "^2.11.1",
73
73
  svelte: "^4.2.17",
package/dist/cli.js CHANGED
@@ -17,7 +17,7 @@ import parse from "parse-gitignore";
17
17
  import c from "picocolors";
18
18
 
19
19
  // package.json
20
- var version = "2.5.0-beta.2";
20
+ var version = "2.5.0";
21
21
  var devDependencies = {
22
22
  "@antfu/ni": "^0.21.12",
23
23
  "@eslint-react/eslint-plugin": "^1.5.12",
@@ -28,7 +28,7 @@ var devDependencies = {
28
28
  "@types/node": "^20.12.12",
29
29
  "@types/prompts": "^2.4.9",
30
30
  "@types/yargs": "^17.0.32",
31
- "@unocss/eslint-plugin": "^0.60.2",
31
+ "@unocss/eslint-plugin": "^0.60.3",
32
32
  bumpp: "^9.4.1",
33
33
  eslint: "^9.3.0",
34
34
  "eslint-plugin-react": "^7.34.1",
@@ -38,7 +38,7 @@ var devDependencies = {
38
38
  execa: "^9.1.0",
39
39
  "fast-glob": "^3.3.2",
40
40
  "fs-extra": "^11.2.0",
41
- "lint-staged": "^15.2.2",
41
+ "lint-staged": "^15.2.4",
42
42
  rimraf: "^5.0.7",
43
43
  "simple-git-hooks": "^2.11.1",
44
44
  svelte: "^4.2.17",
package/dist/index.cjs CHANGED
@@ -76,6 +76,8 @@ async function comments() {
76
76
  // src/constants/glob.ts
77
77
  var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
78
78
  var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
79
+ var GLOB_JS = "**/*.?([cm])js";
80
+ var GLOB_JSX = "**/*.?([cm])jsx";
79
81
  var GLOB_TS = "**/*.?([cm])ts";
80
82
  var GLOB_TSX = "**/*.?([cm])tsx";
81
83
  var GLOB_VUE = "**/*.vue";
@@ -1464,7 +1466,7 @@ var RemixPackages = [
1464
1466
  ];
1465
1467
  var NextJsPackages = ["next"];
1466
1468
  async function react(options = {}) {
1467
- const { files = [GLOB_TS, GLOB_TSX], overrides = {} } = options;
1469
+ const { files = [GLOB_JS, GLOB_JSX, GLOB_TS, GLOB_TSX], overrides = {} } = options;
1468
1470
  await ensurePackages([
1469
1471
  "@eslint-react/eslint-plugin",
1470
1472
  "eslint-plugin-react-hooks",
package/dist/index.d.cts CHANGED
@@ -12664,6 +12664,8 @@ type TsSortTypeConstituents = []|[{
12664
12664
 
12665
12665
  checkUnions?: boolean
12666
12666
 
12667
+ caseSensitive?: boolean
12668
+
12667
12669
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
12668
12670
  }]
12669
12671
  // ----- ts/space-before-blocks -----
package/dist/index.d.ts CHANGED
@@ -12664,6 +12664,8 @@ type TsSortTypeConstituents = []|[{
12664
12664
 
12665
12665
  checkUnions?: boolean
12666
12666
 
12667
+ caseSensitive?: boolean
12668
+
12667
12669
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
12668
12670
  }]
12669
12671
  // ----- ts/space-before-blocks -----
package/dist/index.js CHANGED
@@ -31,6 +31,8 @@ async function comments() {
31
31
  // src/constants/glob.ts
32
32
  var GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
33
33
  var GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
34
+ var GLOB_JS = "**/*.?([cm])js";
35
+ var GLOB_JSX = "**/*.?([cm])jsx";
34
36
  var GLOB_TS = "**/*.?([cm])ts";
35
37
  var GLOB_TSX = "**/*.?([cm])tsx";
36
38
  var GLOB_VUE = "**/*.vue";
@@ -1419,7 +1421,7 @@ var RemixPackages = [
1419
1421
  ];
1420
1422
  var NextJsPackages = ["next"];
1421
1423
  async function react(options = {}) {
1422
- const { files = [GLOB_TS, GLOB_TSX], overrides = {} } = options;
1424
+ const { files = [GLOB_JS, GLOB_JSX, GLOB_TS, GLOB_TSX], overrides = {} } = options;
1423
1425
  await ensurePackages([
1424
1426
  "@eslint-react/eslint-plugin",
1425
1427
  "eslint-plugin-react-hooks",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coderwyd/eslint-config",
3
3
  "type": "module",
4
- "version": "2.5.0-beta.2",
4
+ "version": "2.5.0",
5
5
  "description": "Donny's ESLint config",
6
6
  "author": "Donny Wang <donny526@outlook.com> (https://github.com/coderwyd/)",
7
7
  "license": "MIT",
@@ -67,8 +67,8 @@
67
67
  "@antfu/install-pkg": "^0.3.3",
68
68
  "@stylistic/eslint-plugin": "^2.1.0",
69
69
  "@toml-tools/parser": "^1.0.0",
70
- "@typescript-eslint/eslint-plugin": "^7.9.0",
71
- "@typescript-eslint/parser": "^7.9.0",
70
+ "@typescript-eslint/eslint-plugin": "^7.10.0",
71
+ "@typescript-eslint/parser": "^7.10.0",
72
72
  "eslint-config-flat-gitignore": "^0.1.5",
73
73
  "eslint-merge-processors": "^0.1.0",
74
74
  "eslint-plugin-antfu": "^2.2.0",
@@ -81,7 +81,7 @@
81
81
  "eslint-plugin-n": "^17.7.0",
82
82
  "eslint-plugin-no-only-tests": "^3.1.0",
83
83
  "eslint-plugin-perfectionist": "^2.10.0",
84
- "eslint-plugin-regexp": "^2.5.0",
84
+ "eslint-plugin-regexp": "^2.6.0",
85
85
  "eslint-plugin-tailwindcss": "^3.15.2",
86
86
  "eslint-plugin-unicorn": "^53.0.0",
87
87
  "eslint-plugin-unused-imports": "^3.2.0",
@@ -109,7 +109,7 @@
109
109
  "@types/node": "^20.12.12",
110
110
  "@types/prompts": "^2.4.9",
111
111
  "@types/yargs": "^17.0.32",
112
- "@unocss/eslint-plugin": "^0.60.2",
112
+ "@unocss/eslint-plugin": "^0.60.3",
113
113
  "bumpp": "^9.4.1",
114
114
  "eslint": "^9.3.0",
115
115
  "eslint-plugin-react": "^7.34.1",
@@ -119,7 +119,7 @@
119
119
  "execa": "^9.1.0",
120
120
  "fast-glob": "^3.3.2",
121
121
  "fs-extra": "^11.2.0",
122
- "lint-staged": "^15.2.2",
122
+ "lint-staged": "^15.2.4",
123
123
  "rimraf": "^5.0.7",
124
124
  "simple-git-hooks": "^2.11.1",
125
125
  "svelte": "^4.2.17",