- Notifications
You must be signed in to change notification settings - Fork506
feat: move all eslint-related stuff to main repo#875
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
haoqunjiang wants to merge208 commits intovuejs:mainChoose a base branch fromhaoqunjiang:feat/eslint-and-oxlint-config
base:main
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes fromall commits
Commits
Show all changes
208 commits Select commitHold shift + click to select a range
db4eb83 Initial commit
haoqunjiangc00d40d chore: scaffold the package
haoqunjiang847d7ca docs: use lower-case `npm`
haoqunjiang82c721c refactor: switch to ESM
haoqunjiang181396b feat: initial implementation
haoqunjiang846aac7 fix: replace Object.assign with deepMerge
haoqunjiange4add77 fix: fix requireInCwd
haoqunjiang9b41014 chore: add a todo about Vue CLI project warnings
haoqunjiang0736e03 chore: output detected TypeScript info
haoqunjiang6bd1c09 chore: rewording
haoqunjiangd7a8849 chor: dim non-essential messages
haoqunjiang1f00c35 0.1.0
haoqunjiangf822d2d refactor: use cjs modules instead of createRequire and fs.readFileSync
haoqunjiang58c7140 fix: always create a prettierrc file when Prettier is used
haoqunjiang3f8292e 0.1.1
haoqunjiang7455652 fix: use default exports of CJS modules
haoqunjiang4c9d69e 0.1.2
haoqunjiang91bec61 fix: typo
haoqunjiang747f8d6 0.1.3
haoqunjiang2d17e0d chore: update `@vue/eslint-config-typescript` to v11.0.2 (#2)
zhousg5647b57 fix: create initial prettier config matching the content of the gener…
LinusBorga0a7457 refactor: put the default prettierrc into a separate file
haoqunjiangcf0bd48 refactor!: when prettier is used, don't format with eslint
haoqunjiang28d7e35 chore: Configure Renovate (#3)
renovate[bot]1ab12d4 chore(deps): update all non-major dependencies (#6)
renovate[bot]4d1cf18 chore: update typescript version
haoqunjiange29e11b fix: fix writing .prettierrc.json
haoqunjiangf0884f5 fix!: use import assertions to get prettierrcs
haoqunjiangae26e5a fix: prettier config must come after any other extends
haoqunjiang5394183 0.2.0
haoqunjiang0492c3b chore: update deps
haoqunjiangb68a1c1 0.2.1
haoqunjiang78bc3d6 refactor: drop import assertions and inline prettierrcs
haoqunjiang55abe4a chore(deps): update all non-major dependencies (#8)
renovate[bot]8f38b03 chore(deps): update dependency prettier to v3 (#10)
renovate[bot]c3db167 chore(deps): update dependency @vue/eslint-config-prettier to v8 (#11)
renovate[bot]f14cdac chore: update typescript
haoqunjiang31d58e7 0.3.0
haoqunjiangcab3fd7 fix: add shebang to the bin file
haoqunjiang22b5de7 chore(deps): update all non-major dependencies (#12)
renovate[bot]91494d4 0.3.1
haoqunjiangf4d9cd6 chore(deps): update all non-major dependencies (#13)
renovate[bot]e780b24 chore(deps): update dependency @vue/eslint-config-typescript to v12 (…
renovate[bot]71d349c chore: add comments about Vue CLI todos
haoqunjiangdad8475 0.3.2
haoqunjiangf1b93f0 chore(deps): update dependency @vue/eslint-config-airbnb to v8 (#16)
renovate[bot]d99f0b4 chore(deps): update dependency @vue/eslint-config-airbnb-with-typescr…
renovate[bot]43cdf97 chore(deps): update dependency @vue/eslint-config-prettier to v9 (#18)
renovate[bot]81dbf98 chore(deps): update all non-major dependencies (#15)
renovate[bot]3499fe1 chore(deps): update dependency @vue/eslint-config-typescript to v13 (…
renovate[bot]c20c7cd chore(deps): update all non-major dependencies (#19)
renovate[bot]49f258f chore(deps): update all non-major dependencies (#22)
renovate[bot]305e1b3 0.3.3
haoqunjiang9df38b7 chore(deps): update all non-major dependencies (#23)
renovate[bot]1d657db feat!: initial flat config support
haoqunjiang2eefee9 0.4.0
haoqunjiangd1d859f fix: global `ignores` needs to be in a separate object without any ot…
haoqunjiang65170b6 0.4.1
haoqunjianga63e076 refactor: use js extension for eslint config (#28)
cexbrayat9f4e10a chore(deps): update all non-major dependencies (#26)
renovate[bot]3976533 0.4.2
haoqunjiang2062797 chore: update typescript in a separate group instead of ignoring it
haoqunjiangb31bfff chore(deps): update all non-major dependencies (#29)
renovate[bot]ac2bfbc chore(deps): update dependency typescript to ~5.6.0 (#30)
renovate[bot]046eeab 0.4.3
haoqunjiangd1fe363 chore(deps): update all non-major dependencies (#32)
renovate[bot]5c93155 feat!: align the default prettier style with `create-vue` instead of …
haoqunjiang2378e2f refactor(config): Remove redundant options to align with schemastore …
2291947 0.5.0
haoqunjiang086bdba chore(deps): update all non-major dependencies (#34)
renovate[bot]37c4dcb feat: add experimental oxlint support (#33)
haoqunjiang5983d48 feat: also modify project scripts for easier setup
haoqunjiang8a1fddd chore: reorder lint commands to run oxlint first by default
haoqunjiang551b8bc feat: add TypeScript declaration file
haoqunjiang02f16c3 fix(oxlint): should emit errors instead of warnings for correctness r…
haoqunjiangb0ac07d fix: should let the user confirm the detected result
haoqunjiangcade01c chore(deps): update all non-major dependencies (#35)
renovate[bot]d29101e 0.6.0
haoqunjiang1f3e747 chore: add comments to explain the default format script
haoqunjiang3da39e3 style: format
haoqunjiang2ff7d38 chore: remove outdated TODO comments
haoqunjiang298f241 fix: provide .gitignore to oxlint to avoid linting node_modules insta…
haoqunjiange1e5458 0.6.1
haoqunjiang7fe208c workflow: setup automated release with provenance
haoqunjiang4ed74c9 fix: when using prettier, enforce line endings and max line length in…
haoqunjiang37e0c62 chore(deps): update dependency typescript to ~5.7.0 (#40)
renovate[bot]0513ff5 chore(deps): update all non-major dependencies (#38)
renovate[bot]f8ff835 chore: rename the workflow to Publish to be consistent with other pro…
haoqunjiangb3c65dd chore: fix indentation
haoqunjiang193923a chore(deps): update all non-major dependencies (#41)
renovate[bot]3fbbc46 feat: use @vue/eslint-config-typescript 14.3 API & eslint.config.ts
haoqunjiang3c0df25 fix: add .gitattributes to help with line endings, reducing Windows i…
haoqunjiangc369a4b 0.7.0
haoqunjiang1bac39b style: no need to break the line with a printWidth of 100
haoqunjiang7457b7e 0.7.1
haoqunjiang1ce4518 docs: add a note about the `scriptLangs` config for TypeScript projects
haoqunjiang3ec244a 0.7.2
haoqunjiang5ffdb28 chore(deps): update all non-major dependencies (#42)
renovate[bot]8e49146 chore(deps): update all non-major dependencies (#43)
renovate[bot]7b39a14 chore(deps): update all non-major dependencies (#44)
renovate[bot]5c75dbc chore: use Haoqun's renovate preset and move configuration to .github…
haoqunjiangbb517db chore(deps): update dependency typescript to ~5.7.3 (#46)
renovate[bot]28030b0 0.7.3
haoqunjiangc54e1f0 chore(deps): update oxlint to ^0.15.12 (#47)
renovate[bot]79be99d fix: spread the oxlint config
haoqunjiang30d34eb chore(deps): update all non-major dependencies (#50)
renovate[bot]ab974c0 chore(deps): pin dependency prettier to v3.5.1 (#49)
renovate[bot]e07a55b chore(deps): update dependency prettier to v3.5.2 (#51)
renovate[bot]cc4a919 feat: add css files in .editorconfig template (#48)
idmytro974114b 0.8.0
haoqunjiang568d0b4 chore(deps): update all non-major dependencies (#52)
renovate[bot]8a311c3 chore(deps): update oxlint to ^0.15.13 (#55)
renovate[bot]799f5ac chore(deps): update dependency prettier to v3.5.3 (#53)
renovate[bot]4855d42 chore(deps): update dependency typescript to ~5.8.2 (#54)
renovate[bot]2de70bf chore(deps): update dependency eslint-plugin-vue to v10 (#56)
renovate[bot]b899d91 feat: add globals to js config
haoqunjianga9c6de5 fixup! feat: add globals to js config
haoqunjiangc84a9fe 0.9.0
haoqunjiang76b4249 fix: add globals to the dependency list
haoqunjiangf47890c 0.9.1
haoqunjiang30af737 chore(deps): update all non-major dependencies (#57)
renovate[bot]e23389e chore(deps): update oxlint to ^0.15.15 (#58)
renovate[bot]022afe3 feat: use `defineConfig` & `globalIgnores` helpers from ESLint 9.22
haoqunjiang57fb33e style: move globals import before plugins
haoqunjiangf03fec0 style: rename oxlint to pluginOxlint for consistency
haoqunjiangb979c50 0.10.0
haoqunjiang1803c6e style: move pluginVue after @vue/eslint-config-typescript
haoqunjiang23bc045 chore(deps): update oxlint to ^0.16.0 (#59)
renovate[bot]30ac81f 0.10.1
haoqunjiang8e666ca chore(deps): update oxlint to ^0.16.2 (#60)
renovate[bot]95b2ba0 chore(deps): update all non-major dependencies (#61)
renovate[bot]92a26c5 chore(deps): update all non-major dependencies (#62)
renovate[bot]7c9d4e4 chore(deps): update oxlint to ^0.16.5 (#63)
renovate[bot]632b1c9 chore(deps): update dependency npm-run-all2 to v8 (#66)
renovate[bot]2895915 chore(deps): update v0.x to ^0.16.9 (#65)
renovate[bot]70af4a0 chore(deps): update all non-major dependencies (#64)
renovate[bot]74e9d6b 0.10.2
haoqunjiang1a587d8 chore(deps): update all non-major dependencies (#67)
renovate[bot]1cb64f8 chore(deps): update oxlint to v1 (#70)
renovate[bot]579a9f8 fix: use tilde range for oxlint packages
haoqunjiang2ecd3b7 0.11.0
haoqunjianga34c29f chore(deps): update oxlint to ~1.1.0 (#72)
renovate[bot]4dffe48 chore(deps): update all non-major dependencies (#71)
renovate[bot]eb4da0e 0.11.1
haoqunjiang54a70f8 chore(deps): update oxlint to ~1.5.0 (#73)
renovate[bot]5a61766 chore(deps): update dependency prettier to v3.6.2 (#75)
renovate[bot]0c59d25 chore(deps): update all non-major dependencies (#74)
renovate[bot]83e1ac4 0.11.2
haoqunjiang42ee5b5 chore(deps): update oxlint to ~1.8.0 (#78)
renovate[bot]5989ea6 chore(deps): update all non-major dependencies (#77)
renovate[bot]3f4060f 0.11.3
haoqunjiang92b1e61 chore: lockfile maintenance
haoqunjiangc00d619 refactor: remove style-guide related code as we don't support this fe…
haoqunjiangcfaba5d feat: use `@prettier/plugin-oxc` when user selects Oxlint and Prettier
haoqunjiang7ba941a chore: cleanup the ESLint config for the project itself
haoqunjiangcd6366c 0.12.0
haoqunjiang7752376 chore(deps): update all non-major dependencies (#79)
renovate[bot]24027c0 chore(deps): update oxlint to ~1.11.0 (#81)
renovate[bot]828744b chore(deps): update dependency typescript to ~5.9.0 (#80)
renovate[bot]d1142c4 ci: use trusted publisher for npm publish
haoqunjiang244a08b 0.12.1
haoqunjiangfbdf566 chore(deps): update all non-major dependencies (#82)
renovate[bot]2705229 chore(deps): update actions/checkout action to v5 (#84)
renovate[bot]0b25b8f chore(deps): update oxlint to ~1.14.0 (#83)
renovate[bot]ccb9567 chore(deps): update actions/setup-node action to v5 (#85)
renovate[bot]92f151f chore(deps): update all non-major dependencies (#86)
renovate[bot]43df76b chore(deps): update oxlint to ~1.19.0 (#87)
renovate[bot]9e8a13f 0.12.2
haoqunjiang47e0d54 chore(deps): update oxlint to ~1.23.0 (#89)
renovate[bot]bb6a2dd chore(deps): update all non-major dependencies (#88)
renovate[bot]ea60e62 feat: add `cache` option (#90)
btead9e661c 0.13.0
haoqunjiangc1b7fe8 chore(deps): update actions/setup-node action to v6 (#92)
renovate[bot]d679f61 chore(deps): update all non-major dependencies (#91)
renovate[bot]b919ae0 chore(deps): update oxlint to ~1.29.0 (#95)
renovate[bot]73f8e05 chore(deps): update all non-major dependencies (#94)
renovate[bot]122f313 chore(deps): update dependency @prettier/plugin-oxc to ^0.0.5 (#96)
renovate[bot]18d29e5 0.13.1
haoqunjiang052e65b chore: lockfile maintenance
haoqunjiangedca530 chore(deps): update dependency eslint-plugin-vue to ~10.6.1 (#97)
renovate[bot]c3440c9 chore(deps): update actions/checkout action to v6 (#98)
renovate[bot]2ece72a chore(deps): update oxlint to ~1.31.0 (#102)
renovate[bot]b0459b9 chore(deps): update dependency @prettier/plugin-oxc to ^0.1.2 (#100)
renovate[bot]ecd72e7 chore(deps): update dependency eslint-plugin-vue to ~10.6.2 (#99)
renovate[bot]74861d9 chore(deps): update dependency prettier to v3.7.3 (#101)
renovate[bot]c81740b chore: lockfile maintenance
haoqunjiang8e41d52 0.13.2
haoqunjiang413e344 chore(deps): update dependency @prettier/plugin-oxc to ^0.1.3 (#104)
renovate[bot]2d44eb3 chore(deps): update dependency prettier to v3.7.4 (#105)
renovate[bot]4421351 chore(deps): update oxlint to ~1.32.0 (#106)
renovate[bot]f0d3097 chore(deps): update dependency @types/node to ^22.19.2 (#107)
renovate[bot]2724ba4 0.13.3
haoqunjiang375e213 feat: add oxfmt support (#103)
haoqunjiang90866e7 0.14.0
haoqunjiang0262d5b fix: forgot to pass needsOxfmt to template
haoqunjiangc274614 0.14.1
haoqunjiang6096a8e chore(deps): update all non-major dependencies (#108)
renovate[bot]4aa5fb1 chore(deps): update oxlint to ~1.33.0 (#110)
renovate[bot]e4d296d chore(deps): update dependency oxfmt to ^0.18.0 (#109)
renovate[bot]856da4a 0.14.2
haoqunjiangbc93a78 Add 'linters-and-formatters/' from commit '856da4a4c263373fcddd8cb2f5…
haoqunjiangf22853d feat: move all eslint-related stuff to main repo
haoqunjiangc9c05b9 chore: update lockfile
haoqunjiangf24dc8c test: remove renderEslint.spec.ts
haoqunjiang3f3d708 chore: adjust comment [skip ci]
haoqunjiang4db6ade fix: forgot to add trailing comma
haoqunjiang9966eb4 feat: add default formatter settings for oxfmt in VSCode
haoqunjiangc727a22 Merge branch 'main' into feat/eslint-and-oxlint-config
haoqunjiangFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletions.editorconfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| [*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] | ||
| charset =utf-8 | ||
| indent_size =2 | ||
| indent_style =space | ||
| insert_final_newline =true | ||
| trim_trailing_whitespace =true |
29 changes: 0 additions & 29 deletionsLICENSE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
106 changes: 0 additions & 106 deletions__test__/renderEslint.spec.ts
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
50 changes: 32 additions & 18 deletionsindex.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletionpackage.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.