Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use eslint-doc-generator #9

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
rules.js
rules.cjs
node_modules
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ And then you can add the following script to your `package.json`:

You need to install both the [oxc](https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode) and [eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extensions

## Rules

<!-- begin auto-generated rules list -->
<!-- end auto-generated rules list -->

## Configs

<!-- begin auto-generated configs list -->
<!-- end auto-generated configs list -->

## License

[MIT](https://github.com/Dunqing/eslint-plugin-oxlint/blob/main/LICENSE)
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@
"license": "MIT",
"scripts": {
"generate": "tsx ./scripts/generate-rules.ts",
"lint": "npx oxlint && npx eslint",
"format": "npx prettier --write .",
"release": "bumpp package.json",
"prepare": "husky"
"prepare": "husky",
"lint": "npm-run-all \"lint:*\"",
"lint:docs": "npx markdownlint \"**/*.md\" -p .eslintignore",
"lint:eslint-docs": "npm run update:eslint-docs -- --check",
"lint:js": "npx oxlint && npx eslint",
"update:eslint-docs": "eslint-doc-generator"
},
"keywords": [
"oxc",
Expand All @@ -43,11 +47,14 @@
"@typescript-eslint/parser": "^6.16.0",
"axios": "^1.6.3",
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-doc-generator": "^1.6.2",
"eslint-plugin-unicorn": "^50.0.1",
"eslint": "^8.56.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"markdownlint-cli": "^0.33.0",
"npm-run-all": "^4.1.5",
"oxlint": "^0.2.8",
"prettier": "^3.2.4",
"tsx": "^4.7.0",
Expand Down
Loading
Loading