@sarj/eslint-plugin 15.6.0 → 15.6.1

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/README.md CHANGED
@@ -8,4 +8,6 @@ Custom ESLint rules for hypermodern TypeScript / React / Next.js projects
8
8
  npm install --save-dev @sarj/eslint-plugin
9
9
  ```
10
10
 
11
+ Rules and configuration are documented in the generated rule directory.
12
+
11
13
  [Documentation](https://code-standards.sarj.ai/rules/eslint/) · [Source](https://github.com/sarj-ai/standards)
package/dist/index.cjs CHANGED
@@ -14581,7 +14581,7 @@ var rules = {
14581
14581
  };
14582
14582
  var meta = {
14583
14583
  name: "@sarj/eslint-plugin",
14584
- version: "15.6.0"
14584
+ version: "15.6.1"
14585
14585
  };
14586
14586
  var applicationOnlyRules = [
14587
14587
  "no-restricted-library-load",
package/dist/index.d.cts CHANGED
@@ -415,7 +415,7 @@ type FlatPreset = {
415
415
  declare const plugin: {
416
416
  readonly meta: {
417
417
  readonly name: "@sarj/eslint-plugin";
418
- readonly version: "15.6.0";
418
+ readonly version: "15.6.1";
419
419
  };
420
420
  readonly rules: {
421
421
  readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
package/dist/index.d.ts CHANGED
@@ -415,7 +415,7 @@ type FlatPreset = {
415
415
  declare const plugin: {
416
416
  readonly meta: {
417
417
  readonly name: "@sarj/eslint-plugin";
418
- readonly version: "15.6.0";
418
+ readonly version: "15.6.1";
419
419
  };
420
420
  readonly rules: {
421
421
  readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
package/dist/index.js CHANGED
@@ -14559,7 +14559,7 @@ var rules = {
14559
14559
  };
14560
14560
  var meta = {
14561
14561
  name: "@sarj/eslint-plugin",
14562
- version: "15.6.0"
14562
+ version: "15.6.1"
14563
14563
  };
14564
14564
  var applicationOnlyRules = [
14565
14565
  "no-restricted-library-load",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarj/eslint-plugin",
3
- "version": "15.6.0",
3
+ "version": "15.6.1",
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 verify-package",
39
+ "prepack": "npm run build && 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)}\""