@savvy-web/lint-staged 0.4.0 → 0.4.2
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 +12 -3
- package/package.json +3 -3
package/376.js
CHANGED
|
@@ -978,6 +978,9 @@ const MARKDOWNLINT_TEMPLATE = {
|
|
|
978
978
|
"**/CHANGELOG.md",
|
|
979
979
|
"**/.claude/plans"
|
|
980
980
|
],
|
|
981
|
+
customRules: [
|
|
982
|
+
"@savvy-web/changesets/markdownlint"
|
|
983
|
+
],
|
|
981
984
|
config: {
|
|
982
985
|
default: true,
|
|
983
986
|
MD001: true,
|
|
@@ -1052,7 +1055,10 @@ const MARKDOWNLINT_TEMPLATE = {
|
|
|
1052
1055
|
MD059: true,
|
|
1053
1056
|
MD060: {
|
|
1054
1057
|
style: "compact"
|
|
1055
|
-
}
|
|
1058
|
+
},
|
|
1059
|
+
"changeset-heading-hierarchy": false,
|
|
1060
|
+
"changeset-required-sections": false,
|
|
1061
|
+
"changeset-content-structure": false
|
|
1056
1062
|
}
|
|
1057
1063
|
};
|
|
1058
1064
|
const MARKDOWNLINT_SCHEMA = "https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.20.0/schema/markdownlint-cli2-config-schema.json";
|
|
@@ -1130,7 +1136,10 @@ const MARKDOWNLINT_CONFIG = {
|
|
|
1130
1136
|
MD059: true,
|
|
1131
1137
|
MD060: {
|
|
1132
1138
|
style: "compact"
|
|
1133
|
-
}
|
|
1139
|
+
},
|
|
1140
|
+
"changeset-heading-hierarchy": false,
|
|
1141
|
+
"changeset-required-sections": false,
|
|
1142
|
+
"changeset-content-structure": false
|
|
1134
1143
|
};
|
|
1135
1144
|
const CHECK_MARK = "\u2713";
|
|
1136
1145
|
const WARNING = "\u26A0";
|
|
@@ -1729,7 +1738,7 @@ const rootCommand = Command.make("savvy-lint").pipe(Command.withSubcommands([
|
|
|
1729
1738
|
]));
|
|
1730
1739
|
const cli = Command.run(rootCommand, {
|
|
1731
1740
|
name: "savvy-lint",
|
|
1732
|
-
version: "0.4.
|
|
1741
|
+
version: "0.4.2"
|
|
1733
1742
|
});
|
|
1734
1743
|
function runCli() {
|
|
1735
1744
|
const main = Effect.suspend(()=>cli(process.argv)).pipe(Effect.provide(NodeContext.layer));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@savvy-web/lint-staged",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
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": [
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@biomejs/biome": "2.3.14",
|
|
60
|
-
"@types/node": "^25.2.
|
|
61
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
60
|
+
"@types/node": "^25.2.3",
|
|
61
|
+
"@typescript/native-preview": "^7.0.0-dev.20260215.1",
|
|
62
62
|
"husky": "^9.1.7",
|
|
63
63
|
"lint-staged": "^16.2.7",
|
|
64
64
|
"markdownlint-cli2": "^0.20.0",
|