-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Ensure that eslint runs on all frontend code (no-changelog) #4602
Conversation
5a95ebf
to
d93922f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
Let's remove
/design-system/tslint.json
? -
design-system/.editorconfig
still needed? -
Should we lint the contents of
.storybook
? -
prettier **/**.{ts,vue} --write
Let's format all others as well? css, scss, js, md, mdx -
Button.stories.ts
still contains a TSLint exception. -
These only trigger one issue each. Let's fix and remove from the list?
@typescript-eslint/ban-ts-comment
@typescript-eslint/restrict-template-expressions
@typescript-eslint/no-unused-vars
-
@typescript-eslint/member-delimiter-style
triggers no issues. Let's remove from the list. -
@typescript-eslint/naming-convention
triggers 220 issues. design-system might need its own options for this rule. -
import/no-extraneous-dependencies
triggers 80+ issues but seemingly easy to fix by moving a handful of deps to their right categories. Please disregard if time-consuming. -
For any remaining rules that are
off
, let's set towarn
?
✅
✅
✅
✅ , but skipped
✅
✅
✅
✅
✅
✅ , but left it still off for two rules that I plan to remove in another PR. |
Took a look as well and looks good to me, but @ivov seems to have gone through a more in-depth review on it. Will let you guys continue on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running vitest run --coverage
and then formatting slows Prettier down to a crawl. We should add coverage
to .prettierignore
.
Done. Unfortunately |
a newly added file on master was failing on linting. fixed it. |
Got released with |
also,
design-system
design-system