-
Notifications
You must be signed in to change notification settings - Fork 39
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
Standardize code formatting in repository #1783
Merged
dlachaume
merged 19 commits into
main
from
dlachaume/1754/lint-markdown-js-files-in-repo
Jul 4, 2024
Merged
Standardize code formatting in repository #1783
dlachaume
merged 19 commits into
main
from
dlachaume/1754/lint-markdown-js-files-in-repo
Jul 4, 2024
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
dlachaume
temporarily deployed
to
testing-preview
June 26, 2024 15:12
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
June 26, 2024 15:12
— with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/1754/lint-markdown-js-files-in-repo
branch
from
June 26, 2024 15:26
dea726d
to
cc182ae
Compare
dlachaume
temporarily deployed
to
testing-preview
June 26, 2024 15:33
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
June 26, 2024 15:33
— with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/1754/lint-markdown-js-files-in-repo
branch
2 times, most recently
from
June 26, 2024 16:27
73aa9c4
to
c8fd276
Compare
dlachaume
temporarily deployed
to
testing-preview
June 26, 2024 16:35
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
June 26, 2024 16:35
— with
GitHub Actions
Inactive
dlachaume
force-pushed
the
dlachaume/1754/lint-markdown-js-files-in-repo
branch
5 times, most recently
from
July 4, 2024 09:31
18aadd6
to
fa0d227
Compare
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 09:38
— with
GitHub Actions
Inactive
dlachaume
changed the title
Standardize Javascript and Markdown code formatting
Standardize code formatting in repository
Jul 4, 2024
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 10:08
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 10:09
— with
GitHub Actions
Inactive
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 14:57
— with
GitHub Actions
Inactive
Alenar
approved these changes
Jul 4, 2024
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 15:11
— with
GitHub Actions
Inactive
jpraynaud
approved these changes
Jul 4, 2024
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.
LGTM 🚀
- Add code formatting verification in the `check` step of the CI - Remove `Check explorer` in `build-test-explorer` job, since the `make lint` command is executed by the `check` job - Add `check` job require for `publish-docs` - Add global `.prettierignore`
By running `make format`
By running `make format`
By running 'make format'
The parameters `snapshot_bucket_name` and `snapshot_bucket_name` had additional information that was not displayed because it was included in a missing column of the table. Other extra columns were included in the other commands tables
dlachaume
force-pushed
the
dlachaume/1754/lint-markdown-js-files-in-repo
branch
from
July 4, 2024 15:37
58105d2
to
a91559a
Compare
dlachaume
temporarily deployed
to
testing-sanchonet
July 4, 2024 15:44
— with
GitHub Actions
Inactive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Content
This PR includes a global configuration for the code formatting strategy.
This configuration is managed by Prettier and can be configured in the
.prettierc
file located at the root of the repository with options.The Makefiles of
mithril-client-wasm/www/
,mithril-client-wasm/www-test/
, anddocs/website/
have been extended withmake lint
andmake format
commands.make lint
can also be executed from the root of the repository to facilitate usage and CI checks for the entire repository.Pre-submit checklist
Issue(s)
Closes #1754