Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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:main
base:main
Choose a base branch
Loading
fromhaoqunjiang:feat/eslint-and-oxlint-config

Conversation

@haoqunjiang
Copy link
Member

@haoqunjianghaoqunjiang commentedDec 18, 2025
edited
Loading

It's becoming harder and harder to maintain@vue/create-eslint-config separately as the tooling space evolves. So I decided to merge it back to the main repo.

The functionality remains mostly the same, except that we now explicitly generate an oxlint config file instead of passing options via CLI args.
Previously, I was adding--ignore-path .gitignore to oxlint commands, but it turns out.gitignore is automatically respected inside a git repo1. So I skipped that part.

The general idea of this refactoring is that each general feature should be self-contained inside its own template folder (linting andformatting in this PR, in parallel withtsconfig and other stuff), so that in the future we can test them independently or even publish them as separate packages again. Still a lot of work to do in that direction, but this is a start.

The commit log is a bit messy because I usedgit subtree to keep all commit history fromhttps://github.com/vuejs/create-eslint-config/
But after all the refactoring, I guess I would squash them on merging.
The commit history isn't that important in this case.

Footnotes

  1. https://oxc.rs/docs/guide/usage/linter/cli.html#ignore-files

haoqunjiangand others added30 commitsJuly 22, 2022 18:44
https://github.com/npm/cli/tree/v8.17.0#faq-on-branding`npm` should never be capitalized unless it is being displayed in a location that is customarily all-capitals (ex. titles on `man` pages).pnpm seems to prefer lower-case branding too.
So that esbuild can correctly analyze the module dependency graph whenthis package is bundled into other packages such as create-vue.
So that there won't be extraneous `default` property.Fixed prettierrc generation of default style guide.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
We need them to be in module graph so that esbuild can correctly bundlethem, seevuejs/create-eslint-config@f822d2dThis is a breaking change as we can only support Node.js 16.14+by using this feature.
renovatebotand others added27 commitsNovember 27, 2025 14:28
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…67a3f3ceea6099'git-subtree-dir: linters-and-formattersgit-subtree-mainline:1f3b749git-subtree-split:856da4a
It's becoming harder and harder to maintain `create-eslint-config`separately as the tooling space evolves. So I decided to merge it backto the main repo.The functionality remains mostly the same, except that we now explicitlygenerate an oxlint config file instead of passing options via CLI args.Previously I was adding `--ignore-path .gitignore` to oxlint commands,but it turns out `.gitignore` is automatically respected inside a gitrepo[^1]. So I skipped that part.The general idea of this refactoring is that each functionality shouldbe self-contained inside its own template folder, so that in the futurewe can test them independently or even publish them as separate packagesagain. Still a lot of work to do in that direction, but this is a start.[^1]:https://oxc.rs/docs/guide/usage/linter/cli.html#ignore-files
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@haoqunjiang@zhousg@LinusBorg@cexbrayat@idmytro@btea

[8]ページ先頭

©2009-2025 Movatter.jp