@cluerise/tools 5.1.0 → 5.1.2

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.
@@ -18,7 +18,9 @@ worker-configuration.d.ts
18
18
  # Dependencies
19
19
  node_modules/
20
20
 
21
- # .env, .envrc
21
+ # .dev.vars, .env, .envrc
22
+ .dev.vars
23
+ .dev.vars.*
22
24
  .env
23
25
  .env.*
24
26
  .envrc
@@ -41,6 +43,9 @@ yarn.lock
41
43
  etc/
42
44
  .DS_Store
43
45
 
46
+ # NPM, PNPM
47
+ .npmrc.*
48
+
44
49
  # Stryker
45
50
  .stryker-tmp/
46
51
 
@@ -8,7 +8,9 @@ dist/
8
8
  # Dependencies
9
9
  node_modules/
10
10
 
11
- # .env, .envrc
11
+ # .dev.vars, .env, .envrc
12
+ .dev.vars
13
+ .dev.vars.*
12
14
  .env.local
13
15
  .env.*.local
14
16
  .envrc
@@ -166,6 +166,21 @@ export default defineConfig([
166
166
  'import/no-default-export': 'off'
167
167
  }
168
168
  },
169
+ {
170
+ name: 'cluerise: eslint/import/rules/setup.js,cjs',
171
+ files: ['**/*.setup.{js,cjs}'],
172
+ rules: {
173
+ '@typescript-eslint/no-require-imports': 'off',
174
+ 'import/no-commonjs': 'off'
175
+ }
176
+ },
177
+ {
178
+ name: 'cluerise: eslint/import/rules/setup.js,cjs,ts',
179
+ files: ['**/*.setup.{js,cjs,ts}'],
180
+ rules: {
181
+ 'import/no-default-export': 'off'
182
+ }
183
+ },
169
184
  {
170
185
  name: 'cluerise: eslint/import/rules/routes',
171
186
  files: ['**/*-route.tsx'],
@@ -208,11 +223,20 @@ export default defineConfig([
208
223
  name: 'cluerise: eslint/unicorn/rules',
209
224
  rules: {
210
225
  'unicorn/expiring-todo-comments': 'off',
226
+ 'unicorn/filename-case': [
227
+ 'error',
228
+ {
229
+ case: 'kebabCase',
230
+ ignore: [String.raw`\.md$`]
231
+ }
232
+ ],
211
233
  'unicorn/no-null': 'off',
212
234
  'unicorn/no-static-only-class': 'off',
235
+ 'unicorn/no-useless-undefined': 'off',
213
236
  'unicorn/prevent-abbreviations': [
214
237
  'error',
215
238
  {
239
+ ignore: [/.*e2e.*/],
216
240
  replacements: {
217
241
  acc: false,
218
242
  arg: false,
@@ -233,8 +257,7 @@ export default defineConfig([
233
257
  }
234
258
  }
235
259
  ],
236
- 'unicorn/switch-case-braces': ['error', 'avoid'],
237
- 'unicorn/filename-case': ['error', { case: 'kebabCase', ignore: [String.raw`\.md$`] }]
260
+ 'unicorn/switch-case-braces': ['error', 'avoid']
238
261
  }
239
262
  },
240
263
  // HTML
@@ -285,7 +308,9 @@ export default defineConfig([
285
308
  // Dependencies
286
309
  '**/node_modules/',
287
310
 
288
- // .env, .envrc
311
+ // .dev.vars, .env, .envrc
312
+ '**/.dev.vars',
313
+ '**/.dev.vars.*',
289
314
  '**/.env',
290
315
  '**/.env.*',
291
316
  '**/.envrc',
@@ -328,6 +353,9 @@ export default defineConfig([
328
353
  '**/etc/',
329
354
  '**/.DS_Store',
330
355
 
356
+ // NPM, PNPM
357
+ '**/.npmrc.*',
358
+
331
359
  // Stryker
332
360
  '**/.stryker-tmp/',
333
361
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluerise/tools",
3
- "version": "5.1.0",
3
+ "version": "5.1.2",
4
4
  "description": "Tools for maintaining TypeScript projects.",
5
5
  "author": "Branislav Holý <brano@holy.am>",
6
6
  "repository": "github:cluerise/tools",
@@ -22,14 +22,14 @@
22
22
  "@commitlint/config-conventional": "19.8.1",
23
23
  "@commitlint/load": "19.8.1",
24
24
  "@commitlint/types": "19.8.1",
25
- "@eslint/js": "9.29.0",
25
+ "@eslint/js": "9.30.0",
26
26
  "@eslint/json": "0.12.0",
27
27
  "@eslint/markdown": "6.6.0",
28
28
  "@html-eslint/eslint-plugin": "0.42.0",
29
29
  "@html-eslint/parser": "0.42.0",
30
30
  "@typescript-eslint/parser": "8.35.0",
31
31
  "conventional-changelog-conventionalcommits": "9.0.0",
32
- "eslint": "9.29.0",
32
+ "eslint": "9.30.0",
33
33
  "eslint-config-prettier": "10.1.5",
34
34
  "eslint-import-resolver-typescript": "4.4.4",
35
35
  "eslint-plugin-import": "2.32.0",
@@ -40,11 +40,11 @@
40
40
  "glob": "11.0.3",
41
41
  "globals": "16.2.0",
42
42
  "lint-staged": "16.1.2",
43
- "prettier": "3.6.1",
43
+ "prettier": "3.6.2",
44
44
  "prettier-plugin-sh": "0.18.0",
45
45
  "semantic-release": "24.2.5",
46
46
  "semver": "7.7.2",
47
- "smol-toml": "1.3.4",
47
+ "smol-toml": "1.4.0",
48
48
  "typescript-eslint": "8.35.0",
49
49
  "zod": "3.25.67"
50
50
  }