-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Fix swiftlint #1757
base: main
Are you sure you want to change the base?
Fix swiftlint #1757
Changes from all commits
311b7c2
d6a62e4
b24b790
d5b20cd
a2e4402
375e155
e887290
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,16 @@ linters: | |
cli_lint_extra_args: | ||
- "lint" | ||
cli_lint_extra_args_after: | ||
- "--path" | ||
- "/tmp/lint" | ||
- "--strict" | ||
cli_lint_fix_arg_name: "--fix" | ||
cli_lint_fix_remove_args: | ||
- "lint" | ||
cli_docker_image: norionomura/swiftlint | ||
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. Could we use realm swiftlint's Docker image instead? |
||
cli_docker_args: | ||
- "-v" | ||
- "{{WORKSPACE}}:/tmp/lint:rw" | ||
- "$(pwd):$(pwd)" | ||
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. You don't have to change the Example: docker run --rm -v /github/workspace:/tmp/lint -w /tmp/lint ghcr.io/realm/swiftlint:latest swiftlint --strict |
||
- "-w" | ||
- "$(pwd)" | ||
config_file_name: ".swiftlint.yml" | ||
cli_config_arg_name: "" | ||
cli_help_arg_name: "help" | ||
|
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.
Can we also update the
examples
in line 38?