@santi020k/eslint-config-basic 1.4.0 → 1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @santi020k/eslint-config-basic
2
2
 
3
+ ## 1.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#82](https://github.com/santi020k/eslint-config-basic/pull/82) [`af844f6`](https://github.com/santi020k/eslint-config-basic/commit/af844f663f8403d679467e0dd2a7251e8f3d4bcd) Thanks [@santi020k](https://github.com/santi020k)! - - Add first-class Hono support with Worker runtime globals, package detection, and a playground for Cloudflare Workers-style projects.
8
+ - Lower the Node.js engine requirement to `>=22.18.0` in `package.json` and `.nvmrc`, and validate CI against Node.js 22.
9
+ - Update `README.md` with a landing pointer to the canonical docs site.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`af844f6`](https://github.com/santi020k/eslint-config-basic/commit/af844f663f8403d679467e0dd2a7251e8f3d4bcd)]:
14
+ - @santi020k/eslint-config-core@1.5.0
15
+ - @santi020k/eslint-config-optionals@1.5.0
16
+ - @santi020k/eslint-config-typescript@1.5.0
17
+
3
18
  ## 1.4.0
4
19
 
5
20
  ### Minor Changes
package/dist/index.js CHANGED
@@ -104,6 +104,7 @@ const eslintConfig = (options) => {
104
104
  });
105
105
  const expoParam = resolveFramework("expo", frameworks.expo);
106
106
  const nestParam = resolveFramework("nest", frameworks.nest);
107
+ const honoParam = resolveFramework("hono", frameworks.hono, { runtime });
107
108
  const vueParam = resolveFramework("vue", frameworks.vue);
108
109
  const svelteParam = resolveFramework("svelte", frameworks.svelte);
109
110
  const solidParam = resolveFramework("solid", frameworks.solid);
@@ -130,6 +131,7 @@ const eslintConfig = (options) => {
130
131
  ...nextParam,
131
132
  ...expoParam,
132
133
  ...nestParam,
134
+ ...honoParam,
133
135
  ...vueParam,
134
136
  ...svelteParam,
135
137
  ...solidParam,
package/dist/resolvers.js CHANGED
@@ -39,6 +39,11 @@ const resolvePreset = (preset) => {
39
39
  typescript: true,
40
40
  runtime: Runtime.Browser
41
41
  };
42
+ case Preset.Worker:
43
+ return {
44
+ typescript: true,
45
+ runtime: Runtime.Worker
46
+ };
42
47
  case Preset.All:
43
48
  return {
44
49
  typescript: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@santi020k/eslint-config-basic",
3
- "version": "1.4.0",
4
- "description": "A composable ESLint 9/10+ Flat Config package for JavaScript, TypeScript, React, Next.js, Vue, Svelte, Solid, Angular, Astro, Expo, NestJS, Qwik, and Remix.",
3
+ "version": "1.5.0",
4
+ "description": "A composable ESLint 9/10+ Flat Config package for JavaScript, TypeScript, React, Next.js, Vue, Svelte, Solid, Angular, Astro, Expo, NestJS, Hono, Qwik, and Remix.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -23,22 +23,23 @@
23
23
  "dependencies": {
24
24
  "@typescript-eslint/utils": "^8.59.0",
25
25
  "eslint": "^10.2.1",
26
- "@santi020k/eslint-config-core": "^1.4.0",
27
- "@santi020k/eslint-config-optionals": "^1.4.0",
28
- "@santi020k/eslint-config-typescript": "^1.4.0"
26
+ "@santi020k/eslint-config-core": "^1.5.0",
27
+ "@santi020k/eslint-config-optionals": "^1.5.0",
28
+ "@santi020k/eslint-config-typescript": "^1.5.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@santi020k/eslint-config-angular": "^1.4.0",
32
- "@santi020k/eslint-config-astro": "^1.4.0",
33
- "@santi020k/eslint-config-expo": "^1.4.0",
34
- "@santi020k/eslint-config-nest": "^1.4.0",
35
- "@santi020k/eslint-config-next": "^1.4.0",
36
- "@santi020k/eslint-config-qwik": "^1.4.0",
37
- "@santi020k/eslint-config-react": "^1.4.0",
38
- "@santi020k/eslint-config-remix": "^1.4.0",
39
- "@santi020k/eslint-config-solid": "^1.4.0",
40
- "@santi020k/eslint-config-svelte": "^1.4.0",
41
- "@santi020k/eslint-config-vue": "^1.4.0"
31
+ "@santi020k/eslint-config-angular": "^1.5.0",
32
+ "@santi020k/eslint-config-astro": "^1.5.0",
33
+ "@santi020k/eslint-config-expo": "^1.5.0",
34
+ "@santi020k/eslint-config-hono": "^1.5.0",
35
+ "@santi020k/eslint-config-nest": "^1.5.0",
36
+ "@santi020k/eslint-config-next": "^1.5.0",
37
+ "@santi020k/eslint-config-qwik": "^1.5.0",
38
+ "@santi020k/eslint-config-react": "^1.5.0",
39
+ "@santi020k/eslint-config-remix": "^1.5.0",
40
+ "@santi020k/eslint-config-solid": "^1.5.0",
41
+ "@santi020k/eslint-config-svelte": "^1.5.0",
42
+ "@santi020k/eslint-config-vue": "^1.5.0"
42
43
  },
43
44
  "peerDependenciesMeta": {
44
45
  "@santi020k/eslint-config-angular": {
@@ -50,6 +51,9 @@
50
51
  "@santi020k/eslint-config-expo": {
51
52
  "optional": true
52
53
  },
54
+ "@santi020k/eslint-config-hono": {
55
+ "optional": true
56
+ },
53
57
  "@santi020k/eslint-config-nest": {
54
58
  "optional": true
55
59
  },
@@ -84,7 +88,7 @@
84
88
  "access": "public"
85
89
  },
86
90
  "engines": {
87
- "node": ">=24.0.0"
91
+ "node": ">=22.18.0"
88
92
  },
89
93
  "license": "MIT",
90
94
  "author": "santi020k",