chore: eslint-config-prettier を削除 - #28
Merged
Merged
Conversation
Raise the declared range so compromised 10.1.6/10.1.7 versions are outside the allowed set. 10.1.8 is the clean republish of 10.1.5. Co-authored-by: K.Utsunomiya <nemuvski@users.noreply.github.com>
@nuxt/eslint-config does not enable stylistic rules by default, so eslint-config-prettier is unnecessary. Drop the dependency and its ESLint config import. Co-authored-by: K.Utsunomiya <nemuvski@users.noreply.github.com>
nemuvski
marked this pull request as ready for review
September 3, 2026 01:08
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
何を変更したか
eslint-config-prettierを削除しました。バージョンアップは行いません。package.json/yarn.lockからeslint-config-prettierを除去eslint.config.jsから import と.prepend(eslintConfigPrettier)を除去vue/html-self-closingを off にする既存の override はそのまま残しています理由
@nuxt/eslint-configはデフォルトで stylistic / formatting ルールを有効にしません(features.stylisticを明示した場合のみ)createConfigForNuxt({})のため、Prettier と衝突する ESLint 整形ルールは元から入っていませんeslint-config-prettierは実質不要です.prepend()していたため、仮に衝突ルールがあっても Nuxt 側のルールが後勝ちになっていました.prettierrc自体は残しています(singleQuote: true)。Prettier 本体はもともと依存に含まれていません。Migration / 設定変更
ESLint 設定から当該パッケージを外しただけです。追加の migration はありません。
検証
yarn install— 成功yarn lint— 成功