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

FR: Provide a JSON Schema for .swift-format #932

Open
jasikpark opened this issue Feb 13, 2025 · 2 comments
Open

FR: Provide a JSON Schema for .swift-format #932

jasikpark opened this issue Feb 13, 2025 · 2 comments

Comments

@jasikpark
Copy link

BiomeJS provides a JSON Schema with their configuration file:

{
  "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
  "formatter": {
    "enabled": false
  },
  "linter": {
    "enabled": false
  },
  "organizeImports": {
    "enabled": false
  }
}

It would be great to have that for swift-format, in addition to separating out the formatting and linting rules more clearly and allowing to disable one or the other entirely as you can in their configuration file.

The main ask is just for the schema file though.

@ahoppen
Copy link
Member

ahoppen commented Feb 14, 2025

Synced to Apple’s issue tracker as rdar://144825229

@allevato
Copy link
Member

Someone started contributing this in #747, but it looks like that PR has stalled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants