Skip to content

Commit

Permalink
Pin eslint-doc-generator to v1.7.0 (#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored May 9, 2024
1 parent 342aafb commit 784db90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
7 changes: 4 additions & 3 deletions .npmpackagejsonlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@
"prefer-alphabetical-optionalDependencies": "error",
"prefer-alphabetical-bundledDependencies": "error",
"prefer-alphabetical-scripts": "error",
"prefer-caret-version-dependencies": [
"prefer-caret-version-dependencies": "error",
"prefer-caret-version-devDependencies": [
"error",
{
"exceptions": [
"eslint-plugin-unicorn"
"eslint-plugin-internal-rules",
"eslint-doc-generator"
]
}
],
"prefer-caret-version-devDependencies": "error",
"prefer-scripts": [
"error",
[
Expand Down
16 changes: 2 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"node": ">=18.18"
},
"scripts": {
"bundle-lodash": "echo \"export {defaultsDeep, camelCase, kebabCase, snakeCase, upperFirst, lowerFirst} from 'lodash-es';\" | npx esbuild --bundle --outfile=rules/utils/lodash.js --format=cjs",
"create-rule": "node ./scripts/create-rule.mjs && npm run fix:eslint-docs",
"fix": "run-p --continue-on-error fix:*",
"fix:eslint-docs": "eslint-doc-generator",
Expand All @@ -28,7 +29,6 @@
"lint:markdown": "markdownlint \"**/*.md\"",
"lint:package-json": "npmPkgJsonLint .",
"run-rules-on-codebase": "node ./test/run-rules-on-codebase/lint.mjs",
"bundle-lodash": "echo \"export {defaultsDeep, camelCase, kebabCase, snakeCase, upperFirst, lowerFirst} from 'lodash-es';\" | npx esbuild --bundle --outfile=rules/utils/lodash.js --format=cjs",
"smoke": "eslint-remote-tester --config ./test/smoke/eslint-remote-tester.config.js",
"test": "npm-run-all --continue-on-error lint test:*",
"test:js": "c8 ava"
Expand Down Expand Up @@ -78,7 +78,7 @@
"enquirer": "^2.4.1",
"eslint": "^9.2.0",
"eslint-ava-rule-tester": "^5.0.1",
"eslint-doc-generator": "^1.7.0",
"eslint-doc-generator": "1.7.0",
"eslint-plugin-eslint-plugin": "^6.1.0",
"eslint-plugin-internal-rules": "file:./scripts/internal-rules/",
"eslint-remote-tester": "^3.0.1",
Expand Down Expand Up @@ -174,17 +174,5 @@
}
}
]
},
"npmpackagejsonlint": {
"rules": {
"prefer-caret-version-devDependencies": [
"error",
{
"exceptions": [
"eslint-plugin-internal-rules"
]
}
]
}
}
}

0 comments on commit 784db90

Please sign in to comment.