Skip to content

chore: fix eslint configuration and install missing prettier plugin - #670

Open
sarthakkaushik927 wants to merge 1 commit into
containers:mainfrom
sarthakkaushik927:fix/eslint-config
Open

chore: fix eslint configuration and install missing prettier plugin#670
sarthakkaushik927 wants to merge 1 commit into
containers:mainfrom
sarthakkaushik927:fix/eslint-config

Conversation

@sarthakkaushik927

Copy link
Copy Markdown

Fixes #669

Bug Description

Running yarn lint crashes completely with the error ESLint couldn't find the plugin "eslint-plugin-prettier".

This happens because .eslintrc configures the prettier plugin ("plugins": ["prettier"] and "prettier/prettier": ["error"]), but eslint-plugin-prettier was never added to devDependencies in package.json. Additionally, .eslintrc contains leftover boilerplate ignorePatterns referencing packages/preload/... from an unrelated project template.

Proposed Solution

  • Add "eslint-plugin-prettier": "^4.2.1" to devDependencies in package.json.
  • Keep prettier at 2.8.8 but downgrade prettier-plugin-tailwindcss to ^0.2.8 to maintain compatibility with Prettier 2.x and resolve the prettier/plugins/angular module missing error.
  • Remove invalid ignorePatterns from .eslintrc.
  • Verified that yarn lint now successfully runs across the codebase. I will submit a PR for this!

Signed-off-by: sarthakkaushik927 <sarthakkaushik927@gmail.com>
@sarthakkaushik927
sarthakkaushik927 marked this pull request as ready for review August 12, 2026 12:17
@antedotee

Copy link
Copy Markdown
Contributor

I believe, this issue has already been addressed in #543. It would be better to close this to avoid duplicate PRs being open😅.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: fix broken ESLint setup and missing prettier plugin

2 participants