@rootreeweb/linting 5.0.0 → 5.1.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.
@@ -1 +1 @@
1
- {"version":3,"file":"packageJson.d.ts","sourceRoot":"","sources":["../../../src/eslint/packageJson.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAerC,CAAC"}
1
+ {"version":3,"file":"packageJson.d.ts","sourceRoot":"","sources":["../../../src/eslint/packageJson.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAsBrC,CAAC"}
@@ -14,6 +14,13 @@ export const packageJson = defineConfig({
14
14
  "error",
15
15
  { exceptions: ["prettier", "stylelint", "turbo"] },
16
16
  ],
17
+ // Packages here keep a top-level `types` alongside `exports`, since
18
+ // TypeScript's `node10` resolution ignores `exports` and would otherwise
19
+ // find no declarations at all. Turning this off also permits `main`.
20
+ "package-json/prefer-exports": "off",
21
+ // The shared build emits one ESM `.d.ts` tree for both outputs, so the
22
+ // CJS `require` condition has no `.d.cts` counterpart to point at.
23
+ "package-json/require-types-in-exports": "off",
17
24
  },
18
25
  });
19
26
  //# sourceMappingURL=packageJson.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageJson.js","sourceRoot":"","sources":["../../../src/eslint/packageJson.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,MAAM,WAAW,GAAoB,YAAY,CAAC;IACxD,OAAO,EAAE,CAAC,0BAA0B,CAAC;IACrC,KAAK,EAAE,CAAC,iBAAiB,CAAC;IAC1B,OAAO,EAAE;QACR,cAAc,EAAE,iBAAiB;KACjC;IACD,KAAK,EAAE;QACN,sEAAsE;QACtE,uEAAuE;QACvE,0BAA0B;QAC1B,uCAAuC,EAAE;YACxC,OAAO;YACP,EAAE,UAAU,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;SAClD;KACD;CACD,CAAC,CAAC","sourcesContent":["import type { Linter } from \"eslint\";\nimport packageJsonEslint from \"eslint-package-json\";\nimport { defineConfig } from \"eslint/config\";\n\nexport const packageJson: Linter.Config[] = defineConfig({\n\textends: [\"package-json/recommended\"],\n\tfiles: [\"**/package.json\"],\n\tplugins: {\n\t\t\"package-json\": packageJsonEslint,\n\t},\n\trules: {\n\t\t// prettier, stylelint, and turbo are deliberately pinned tighter than\n\t\t// caret elsewhere in this repo, since a minor bump can silently change\n\t\t// formatting/lint output.\n\t\t\"package-json/dependency-version-range\": [\n\t\t\t\"error\",\n\t\t\t{ exceptions: [\"prettier\", \"stylelint\", \"turbo\"] },\n\t\t],\n\t},\n});\n"]}
1
+ {"version":3,"file":"packageJson.js","sourceRoot":"","sources":["../../../src/eslint/packageJson.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,MAAM,WAAW,GAAoB,YAAY,CAAC;IACxD,OAAO,EAAE,CAAC,0BAA0B,CAAC;IACrC,KAAK,EAAE,CAAC,iBAAiB,CAAC;IAC1B,OAAO,EAAE;QACR,cAAc,EAAE,iBAAiB;KACjC;IACD,KAAK,EAAE;QACN,sEAAsE;QACtE,uEAAuE;QACvE,0BAA0B;QAC1B,uCAAuC,EAAE;YACxC,OAAO;YACP,EAAE,UAAU,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE;SAClD;QACD,oEAAoE;QACpE,yEAAyE;QACzE,qEAAqE;QACrE,6BAA6B,EAAE,KAAK;QACpC,uEAAuE;QACvE,mEAAmE;QACnE,uCAAuC,EAAE,KAAK;KAC9C;CACD,CAAC,CAAC","sourcesContent":["import type { Linter } from \"eslint\";\nimport packageJsonEslint from \"eslint-package-json\";\nimport { defineConfig } from \"eslint/config\";\n\nexport const packageJson: Linter.Config[] = defineConfig({\n\textends: [\"package-json/recommended\"],\n\tfiles: [\"**/package.json\"],\n\tplugins: {\n\t\t\"package-json\": packageJsonEslint,\n\t},\n\trules: {\n\t\t// prettier, stylelint, and turbo are deliberately pinned tighter than\n\t\t// caret elsewhere in this repo, since a minor bump can silently change\n\t\t// formatting/lint output.\n\t\t\"package-json/dependency-version-range\": [\n\t\t\t\"error\",\n\t\t\t{ exceptions: [\"prettier\", \"stylelint\", \"turbo\"] },\n\t\t],\n\t\t// Packages here keep a top-level `types` alongside `exports`, since\n\t\t// TypeScript's `node10` resolution ignores `exports` and would otherwise\n\t\t// find no declarations at all. Turning this off also permits `main`.\n\t\t\"package-json/prefer-exports\": \"off\",\n\t\t// The shared build emits one ESM `.d.ts` tree for both outputs, so the\n\t\t// CJS `require` condition has no `.d.cts` counterpart to point at.\n\t\t\"package-json/require-types-in-exports\": \"off\",\n\t},\n});\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rootreeweb/linting",
3
- "version": "5.0.0",
3
+ "version": "5.1.1",
4
4
  "description": "Shared configurations for ESLint and Stylelint",
5
5
  "license": "UNLICENSED",
6
6
  "repository": "github:rootreeweb/meta-tools",
@@ -16,6 +16,7 @@
16
16
  "default": "./dist/esm/index.js"
17
17
  }
18
18
  },
19
+ "types": "./dist/esm/index.d.ts",
19
20
  "sideEffects": false,
20
21
  "engines": {
21
22
  "node": ">=22"
@@ -45,17 +46,17 @@
45
46
  "dependencies": {
46
47
  "@eslint/js": "^10.0.1",
47
48
  "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
48
- "@next/eslint-plugin-next": "^16.2.12",
49
+ "@next/eslint-plugin-next": "^16.3.0",
49
50
  "@rootreeweb/js-lib": "^4.0.18",
50
51
  "@tanstack/eslint-plugin-query": "^5.101.4",
51
- "@vitest/eslint-plugin": "^1.6.24",
52
+ "@vitest/eslint-plugin": "^1.6.26",
52
53
  "eslint-import-resolver-typescript": "^4.4.5",
53
54
  "eslint-package-json": "^0.3.0",
54
- "eslint-plugin-astro": "^3.0.1",
55
+ "eslint-plugin-astro": "^3.1.0",
55
56
  "eslint-plugin-import": "^2.32.0",
56
- "eslint-plugin-jsdoc": "^63.3.2",
57
+ "eslint-plugin-jsdoc": "^63.3.3",
57
58
  "eslint-plugin-jsx-a11y": "^6.10.2",
58
- "eslint-plugin-perfectionist": "^5.10.0",
59
+ "eslint-plugin-perfectionist": "^5.10.1",
59
60
  "eslint-plugin-promise": "^7.3.0",
60
61
  "eslint-plugin-react": "^7.37.5",
61
62
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
@@ -66,7 +67,7 @@
66
67
  "eslint-plugin-tailwindcss": "^4.2.0",
67
68
  "eslint-plugin-testing-library": "^7.16.2",
68
69
  "eslint-plugin-turbo": "^2.10.8",
69
- "globals": "^17.8.0",
70
+ "globals": "^17.9.0",
70
71
  "postcss": "^8.5.25",
71
72
  "prettier-plugin-astro": "^0.14.1",
72
73
  "prettier-plugin-jsdoc": "^1.8.1",
@@ -76,7 +77,7 @@
76
77
  "stylelint-config-tailwindcss": "^1.0.1",
77
78
  "stylelint-prettier": "^5.0.3",
78
79
  "tailwindcss": "^4.3.3",
79
- "typescript-eslint": "^8.65.0"
80
+ "typescript-eslint": "^8.66.0"
80
81
  },
81
82
  "devDependencies": {
82
83
  "@rootreeweb/tsconfigs": "^3.3.16",