-
Notifications
You must be signed in to change notification settings - Fork 661
Closed
Labels
type: feature requestNew feature or requestNew feature or request
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Component
all examples
Problem
Current behavior: examples are not linted, nothing is formatted
After #1946: examples are excluded from linting and formatting
We want to lint and format examples as well
Request
- Remove
examplesfrom the ignore list ineslint.config.js - Remove
examplesfrom the ignore list in.prettierignore - Potentially need to add new files to the ignore list(s) if there are any files in the examples that shouldn't be formatted. Commit all changes so far
- Run
npm run lint:fixand commit the changes. - Run
npm run formatand commit the changes. - Run
npm run lint, manually fix any remaining lint errors or warnings, and commit the changes.
It is important that steps 4, 5, and 6 each be committed separately, as this will make reviewing and rebasing the PR easier.
Note that some examples specify their own lint command and I'm not sure how this will interact with the new flat config. If you attempt this process and find issues with linting any of the examples, let us know in the comments!
Alternatives considered
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
type: feature requestNew feature or requestNew feature or request