@sarj/eslint-plugin 11.0.0 → 11.1.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": "11.0.0",
3
+ "version": "11.1.0",
4
4
  "packageManager": "npm@11.19.0",
5
5
  "description": "Custom ESLint rules for hypermodern TypeScript / React / Next.js projects",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  "build": "tsup",
37
37
  "dogfood": "npm run build && eslint --config eslint.dogfood.config.mjs src tests eslint.config.mjs eslint.dogfood.config.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'))\"",
38
38
  "lint": "eslint . --max-warnings 0",
39
- "prepack": "npm run build && npm run verify-package",
39
+ "prepack": "npm run verify-package",
40
40
  "test": "vitest run",
41
41
  "typecheck": "tsc --noEmit",
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)}\""
@@ -96,6 +96,7 @@
96
96
  "overrides": {
97
97
  "brace-expansion@^5.0.0": "5.0.9",
98
98
  "esbuild": "^0.28.1",
99
+ "nanoid@<3.3.17": "3.3.17",
99
100
  "eslint-plugin-react": {
100
101
  "eslint": "$eslint"
101
102
  }