Skip to content
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

Swift support #127

Open
alphatroya opened this issue Jun 18, 2020 · 19 comments
Open

Swift support #127

alphatroya opened this issue Jun 18, 2020 · 19 comments
Labels
enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label

Comments

@alphatroya
Copy link

Possible linters

  • swiftlint tool is widely using across swift community.
  • swiftformat is also popular code formatting tool that have --lint option.
@alphatroya alphatroya added the enhancement New feature or request label Jun 18, 2020
@BrentMifsud
Copy link

BrentMifsud commented Jun 19, 2020

Apple also has their own linter which seems to handle both linting and formatting: https://github.com/apple/swift-format

But not as popular as the tools mentioned above.

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 Stale issue/pr label Jul 20, 2020
@github-actions github-actions bot closed this as completed Aug 3, 2020
@apollonian
Copy link

🏎🙏

@github-actions github-actions bot removed the O: stale 🤖 Stale issue/pr label Aug 5, 2020
@apollonian
Copy link

@admiralAwkbar @zkoppert If this is something super-linter would possibly be able to accommodate I'd be happy to pitch in. 🖤

@zkoppert
Copy link
Contributor

zkoppert commented Aug 5, 2020

@apollonian We could use your help on this! I will open this and reassign.

@apollonian
Copy link

Thank you!

engali94 added a commit to engali94/super-linter that referenced this issue Aug 7, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2020

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 Stale issue/pr label Sep 6, 2020
@BrentMifsud
Copy link

Bump

@github-actions github-actions bot removed the O: stale 🤖 Stale issue/pr label Sep 6, 2020
@admiralAwkbar
Copy link
Collaborator

This is being worked on in #535 but seems to have hit a wall.. any help there is appreciated

@apollonian
Copy link

apollonian commented Oct 1, 2020

Oh! I'll be checking this out.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2020

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 Stale issue/pr label Nov 1, 2020
@BrentMifsud
Copy link

With swift now on windows, I think this is going to become a more desired feature in the near future.

@github-actions github-actions bot removed the O: stale 🤖 Stale issue/pr label Nov 1, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2020

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 Stale issue/pr label Dec 2, 2020
@BrentMifsud
Copy link

bump

@github-actions github-actions bot removed the O: stale 🤖 Stale issue/pr label Dec 3, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2021

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.

@github-actions github-actions bot added the O: stale 🤖 Stale issue/pr label Jan 3, 2021
@SalAldana
Copy link

As a cross platform developer the only reason why I'm not using this is because I can't include my iOS projects. Bump again.

@github-actions github-actions bot removed the O: stale 🤖 Stale issue/pr label Aug 10, 2022
@ford-at-aws
Copy link

Bump x 5!

@Gustl22 Gustl22 mentioned this issue Aug 21, 2023
3 tasks
@ferrarimarco ferrarimarco reopened this Sep 17, 2023
@ferrarimarco ferrarimarco added the O: backlog 🤖 Backlog, stale ignores this label label Sep 17, 2023
@zkoppert
Copy link
Contributor

Thanks @ferrarimarco for adding the backlog label! Summarizing in this issue for folks waiting on this: Looks like we are waiting on apple/swift#62245 so that the feature work here can continue.

@Gustl22
Copy link
Contributor

Gustl22 commented Nov 28, 2023

In the mean time you can use a combination with a docker image, like we did:

docker run --rm --workdir=/work --volume=$PWD:/work mtgto/swift-format:5.8 \
           lint --parallel --strict --recursive my_package_to_be_linted

@ferrarimarco ferrarimarco added O: backlog 🤖 Backlog, stale ignores this label and removed O: backlog 🤖 Backlog, stale ignores this label labels Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request O: backlog 🤖 Backlog, stale ignores this label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants