Closed mdjermanovic closed 3 weeks ago
Rather than using eslint-config-prettier
, could we just create a config in eslint-config-eslint
that doesn't include formatting rules?
Rather than using
eslint-config-prettier
, could we just create a config ineslint-config-eslint
that doesn't include formatting rules?
Good idea! I'll make a PR for this in eslint/eslint.
Here's the PR: https://github.com/eslint/eslint/pull/18560
Updated to eslint-config-eslint v11 and removed eslint-config-prettier now.
Prerequisites checklist
What is the purpose of this pull request?
Updates eslint config to use
eslint-config-eslint
.What changes did you make? (Give an overview)
eslint.config.js
for this repo to useeslint-config-eslint
.eslint-config-prettier
to disable conflicting rules.Related Issues
No.
Is there anything you'd like reviewers to focus on?
I left two things for follow-ups (I'll open separate issues when this is merged):
eslint-plugin-jsdoc
rules are disabled for now. Enabling these rules will need special attention because we're using JSDoc to generate types.eslint-plugin-n
because linted files are not published.