@savvy-web/lint-staged 0.5.1 → 0.6.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/376.js CHANGED
@@ -316,7 +316,8 @@ class Biome {
316
316
  static defaultExcludes = [
317
317
  "package.json",
318
318
  "package-lock.json",
319
- "__fixtures__"
319
+ "__fixtures__",
320
+ "__test__/fixtures"
320
321
  ];
321
322
  static handler = Biome.create();
322
323
  static findBiome() {
@@ -1095,7 +1096,8 @@ const MARKDOWNLINT_TEMPLATE = {
1095
1096
  "changeset-heading-hierarchy": false,
1096
1097
  "changeset-required-sections": false,
1097
1098
  "changeset-content-structure": false,
1098
- "changeset-uncategorized-content": false
1099
+ "changeset-uncategorized-content": false,
1100
+ "changeset-dependency-table-format": false
1099
1101
  }
1100
1102
  };
1101
1103
  const MARKDOWNLINT_SCHEMA = "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.21.0/schema/markdownlint-cli2-config-schema.json";
@@ -1177,7 +1179,8 @@ const MARKDOWNLINT_CONFIG = {
1177
1179
  "changeset-heading-hierarchy": false,
1178
1180
  "changeset-required-sections": false,
1179
1181
  "changeset-content-structure": false,
1180
- "changeset-uncategorized-content": false
1182
+ "changeset-uncategorized-content": false,
1183
+ "changeset-dependency-table-format": false
1181
1184
  };
1182
1185
  const CHECK_MARK = "\u2713";
1183
1186
  const WARNING = "\u26A0";
@@ -1723,7 +1726,8 @@ class Yaml {
1723
1726
  static glob = "**/*.{yml,yaml}";
1724
1727
  static defaultExcludes = [
1725
1728
  "pnpm-lock.yaml",
1726
- "pnpm-workspace.yaml"
1729
+ "pnpm-workspace.yaml",
1730
+ "__test__/fixtures"
1727
1731
  ];
1728
1732
  static handler = Yaml.create();
1729
1733
  static findConfig() {
@@ -1834,7 +1838,7 @@ const rootCommand = Command.make("savvy-lint").pipe(Command.withSubcommands([
1834
1838
  ]));
1835
1839
  const cli = Command.run(rootCommand, {
1836
1840
  name: "savvy-lint",
1837
- version: "0.5.1"
1841
+ version: "0.6.0"
1838
1842
  });
1839
1843
  function runCli() {
1840
1844
  const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(NodeContext.layer));
package/biome/silk.jsonc CHANGED
@@ -132,7 +132,9 @@
132
132
  "!**/.rslib",
133
133
  "!**/.vitest",
134
134
  "!**/.coverage",
135
- "!coverage"
135
+ "!coverage",
136
+ "!**/__test__/fixtures",
137
+ "!**/__fixtures__"
136
138
  ]
137
139
  }
138
140
  }
package/index.d.ts CHANGED
@@ -78,9 +78,9 @@ export declare class Biome {
78
78
  /**
79
79
  * Default patterns to exclude from processing.
80
80
  * Excludes package.json since PackageJson handler processes those files.
81
- * @defaultValue `['package.json', 'package-lock.json', '__fixtures__']`
81
+ * @defaultValue `['package.json', 'package-lock.json', '__fixtures__', '__test__/fixtures']`
82
82
  */
83
- static readonly defaultExcludes: readonly ["package.json", "package-lock.json", "__fixtures__"];
83
+ static readonly defaultExcludes: readonly ["package.json", "package-lock.json", "__fixtures__", "__test__/fixtures"];
84
84
  /**
85
85
  * Pre-configured handler with default options.
86
86
  * Auto-discovers biome command and config file location.
@@ -1818,9 +1818,9 @@ export declare class Yaml {
1818
1818
  static readonly glob = "**/*.{yml,yaml}";
1819
1819
  /**
1820
1820
  * Default patterns to exclude from processing.
1821
- * @defaultValue `['pnpm-lock.yaml', 'pnpm-workspace.yaml']`
1821
+ * @defaultValue `['pnpm-lock.yaml', 'pnpm-workspace.yaml', '__test__/fixtures']`
1822
1822
  */
1823
- static readonly defaultExcludes: readonly ["pnpm-lock.yaml", "pnpm-workspace.yaml"];
1823
+ static readonly defaultExcludes: readonly ["pnpm-lock.yaml", "pnpm-workspace.yaml", "__test__/fixtures"];
1824
1824
  /**
1825
1825
  * Pre-configured handler with default options.
1826
1826
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@savvy-web/lint-staged",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "private": false,
5
5
  "description": "Composable, configurable lint-staged handlers for pre-commit hooks. Provides reusable handlers for Biome, Markdown, YAML, TypeScript, and more.",
6
6
  "keywords": [
@@ -43,10 +43,10 @@
43
43
  "@effect/cli": "^0.73.2",
44
44
  "@effect/platform": "^0.94.5",
45
45
  "@effect/platform-node": "^0.104.1",
46
- "@typescript-eslint/parser": "^8.56.1",
46
+ "@typescript-eslint/parser": "^8.57.0",
47
47
  "cosmiconfig": "^9.0.1",
48
48
  "effect": "^3.19.16",
49
- "eslint": "^10.0.2",
49
+ "eslint": "^10.0.3",
50
50
  "eslint-plugin-tsdoc": "^0.5.2",
51
51
  "jsonc-parser": "^3.3.1",
52
52
  "prettier": "^3.8.1",
@@ -98,9 +98,6 @@
98
98
  "engines": {
99
99
  "node": ">=24.0.0"
100
100
  },
101
- "scripts": {
102
- "postinstall": "savvy-lint check --quiet || true"
103
- },
104
101
  "files": [
105
102
  "!lint-staged.api.json",
106
103
  "!tsconfig.json",