@sarj/eslint-plugin 16.16.1 → 16.18.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarj/eslint-plugin",
3
- "version": "16.16.1",
3
+ "version": "16.18.0",
4
4
  "packageManager": "npm@12.2.0",
5
5
  "description": "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
6
6
  "type": "module",
@@ -35,12 +35,12 @@
35
35
  "scripts": {
36
36
  "build": "tsup",
37
37
  "dogfood": "npm run build && npm run dogfood:built",
38
- "lint": "eslint . ../../.github/scripts ../standards/src ../standards/eslint.config.mjs --max-warnings 0",
38
+ "lint": "eslint . ../../.github/scripts ../standards/src ../standards/eslint.config.mts --max-warnings 0",
39
39
  "prepack": "npm run build && npm run verify-package",
40
40
  "test": "vitest run",
41
- "typecheck": "tsc --noEmit",
41
+ "typecheck": "tsc --noEmit && tsc --project tsconfig.tools.json",
42
42
  "verify-package": "node -e \"const fs=require('node:fs'),p=require('./package.json'),walk=x=>typeof x==='string'?[x]:x&&typeof x==='object'?Object.values(x).flatMap(walk):[];for(const file of new Set([p.main,p.module,p.types,...walk(p.exports)].filter(Boolean).map(x=>x.startsWith('./')?x.slice(2):x))){if(!file.startsWith('dist/'))throw new Error('export must live under dist: '+file);const stat=fs.statSync(file);if(!stat.isFile()||stat.size===0)throw new Error('missing or empty export: '+file)}\"",
43
- "dogfood:built": "eslint --config eslint.dogfood.config.mjs src tests eslint.config.mjs eslint.dogfood.config.mjs module-constant-naming-options.mjs tsup.config.ts vitest.config.ts --max-warnings 0 && node -e \"import('./dist/index.js').then(({default:p}) => console.log('dogfood: '+Object.keys(p.rules).length+' TypeScript rules, 0 diagnostics'))\""
43
+ "dogfood:built": "eslint --config eslint.dogfood.config.ts src tests scripts eslint-rule-setting.ts eslint.config.ts eslint.dogfood.config.ts module-constant-naming-options.ts tsup.config.ts vitest.config.ts --max-warnings 0 && node -e \"import('./dist/index.js').then(({default:p}) => console.log('dogfood: '+Object.keys(p.rules).length+' TypeScript rules, 0 diagnostics'))\""
44
44
  },
45
45
  "keywords": [
46
46
  "eslint",
@@ -90,7 +90,8 @@
90
90
  "typescript": "npm:@typescript/typescript6@6.0.2",
91
91
  "typescript-eslint": "^8.71.2",
92
92
  "vitest": "5.0.4",
93
- "zod": "4.6.7"
93
+ "zod": "4.6.7",
94
+ "jiti": "2.7.0"
94
95
  },
95
96
  "peerDependencies": {
96
97
  "eslint": ">=9.39.4",