File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
actions/helm/generate-docs Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,13 @@ runs:
8080 // Generate markdownlint config file if not exists
8181 const fs = require('node:fs');
8282 const path = require('node:path');
83- let markdownlintConfigPath = path.join(workingDirectory, ".markdownlint-cli2.jsonc");
83+
84+ let markdownlintConfigPath = path.join(workingDirectory, ".markdownlint.json");
8485 if (!fs.existsSync(markdownlintConfigPath)) {
85- markdownlintConfigPath = path.join(process.env.RUNNER_TEMP, `${Date.now()}.markdownlint-cli2.jsonc `);
86+ markdownlintConfigPath = path.join(process.env.RUNNER_TEMP, `${Date.now()}.markdownlint.json `);
8687 const defaultConfig = {
8788 "default": true,
88- "line-length": { "max": 300 }
89+ "line-length": false
8990 };
9091 fs.writeFileSync(markdownlintConfigPath, JSON.stringify(defaultConfig, null, 2));
9192 }
You can’t perform that action at this time.
0 commit comments