-
Notifications
You must be signed in to change notification settings - Fork 90
build: make sure eslint-plugin-calcite-components is set up correctly #7294
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
Changes from 3 commits
228792f
2250c6f
35d67bc
a1faf63
13a6570
b249208
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| __docs-temp__/* | ||
| docs/ | ||
| hydrate/ | ||
| src/**/*.js | ||
| *.js | ||
| src/components/icon/assets | ||
| www/ |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "ignorePatterns": ["*"] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any package with this configuration will skip linting entirely, right? If so, won't this make the contributing instructions on linting misleading?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For now, maybe the contributing doc can be updated to indicate that ESLint will only run on
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I added this to CCR and the eslint plugin so eslint won't complain about there not being a config which covers their files. I'm working on pulling shared eslint/tsconfigs into separate workspaces as part of the lint-staged fix. After that happens, the base eslint config will be used in these packages. So I'm going to leave the doc as is for now so I don't have to change it and then change it back. |
||
| } | ||
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.
Nitpick: I feel like we need an
"and then"between cloning and installing deps. I'll leave this up to you.