chore: fix eslint configuration and install missing prettier plugin - #670
Open
sarthakkaushik927 wants to merge 1 commit into
Open
chore: fix eslint configuration and install missing prettier plugin#670sarthakkaushik927 wants to merge 1 commit into
sarthakkaushik927 wants to merge 1 commit into
Conversation
Signed-off-by: sarthakkaushik927 <sarthakkaushik927@gmail.com>
sarthakkaushik927
force-pushed
the
fix/eslint-config
branch
from
August 12, 2026 11:52
eb92df9 to
3dd8c3c
Compare
sarthakkaushik927
marked this pull request as ready for review
August 12, 2026 12:17
Contributor
|
I believe, this issue has already been addressed in #543. It would be better to close this to avoid duplicate PRs being open😅. |
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.
Fixes #669
Bug Description
Running
yarn lintcrashes completely with the errorESLint couldn't find the plugin "eslint-plugin-prettier".This happens because
.eslintrcconfigures theprettierplugin ("plugins": ["prettier"]and"prettier/prettier": ["error"]), buteslint-plugin-prettierwas never added todevDependenciesinpackage.json. Additionally,.eslintrccontains leftover boilerplateignorePatternsreferencingpackages/preload/...from an unrelated project template.Proposed Solution
"eslint-plugin-prettier": "^4.2.1"todevDependenciesinpackage.json.prettierat2.8.8but downgradeprettier-plugin-tailwindcssto^0.2.8to maintain compatibility with Prettier 2.x and resolve theprettier/plugins/angularmodule missing error.ignorePatternsfrom.eslintrc.yarn lintnow successfully runs across the codebase. I will submit a PR for this!