generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 98
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
build(repo): Setup eslint
in root workspace
#362
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…kflow fix #361 fix Signed-off-by: Antonette Caldwell <[email protected]>
github-actions
bot
added
area/ci
Continuous integration | Build and release
area/docs
Improvements or additions to documentation
component/icons
area/site
labels
Nov 18, 2023
Signed-off-by: Antonette Caldwell <[email protected]>
Signed-off-by: Antonette Caldwell <[email protected]>
Signed-off-by: Antonette Caldwell <[email protected]>
Signed-off-by: Antonette Caldwell <[email protected]>
Signed-off-by: Antonette Caldwell <[email protected]>
Got it. 👍 |
|
Signed-off-by: Lee Calcote <[email protected]>
Fixed merge conflicts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/ci
Continuous integration | Build and release
area/docs
Improvements or additions to documentation
area/site
component/icons
ready-for-review
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR does two different things.
lint.yml
, which was using an outdated actions and did not have the proper flow to install and make sure to use different Node.js versions in a matrix.eslint
and relevant packages such as@babel/core
@babel/eslint-parser
eslint-config-next
eslint-config-standard
eslint-plugin-import
eslint-plugin-n
eslint-plugin-promise
eslint-plugin-react
prettier-eslint
prettier-eslint-cli
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
eslint-plugin-react-refresh
eslint-plugin-storybook
eslint-plugin-react-hooks
prettier-eslint
works a bit better then the*-config
and*-plugin
, by attaching itself as a process to be used witheslint --fix
.At this time, we have
eslint
to fix and thenprettier
to format files as needed, but if we were to switch it around, there would be leftover files that still needs to be added to git commit.The
eslint-config-sistent
package is not complete, but will be useful in the near future in Meshery UI and Meshery Cloud UI, to share configuration and plugins across multiple repos. This helps to implement DRY, and keep tech debt down to just one place.The files have been linted and formatted before ignore
site
andnext-12
as they will return erroneous errors which will cause more headache then needed at this time to troubleshoot or configure.It will be on a roadmap to ensure that these are properly configured.
The above
eslint-config-sistent
will need to be revised for the future flat config thateslint
will be supporting from now on inv9
, but it is optional inv8
right now.fix #361
fix #360
Notes for Reviewers
This PR also updates to ignore
design-system
until I can figure the best way to lint Storybook specific separately.Signed commits