Skip to content

Commit

Permalink
Merge pull request #615 from natikgadzhi/feature/generate-pipeline/ru…
Browse files Browse the repository at this point in the history
…le-documentation

Generate rule docs automatically
  • Loading branch information
allevato committed Sep 7, 2023
2 parents 5a5d876 + 284ed05 commit f14a625
Show file tree
Hide file tree
Showing 6 changed files with 631 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Documentation/Configuration.md
Expand Up @@ -103,6 +103,18 @@ An example `.swift-format` configuration file is shown below.
}
```

## Linter and Formatter Rules Configuration

In the `rules` block of `.swift-format`, you can specify which rules to apply
when linting and formatting your project. Read the
[rules documentation](Documentation/RuleDocumentation.md) to see the list of all
supported linter and formatter rules, and their overview.

You can also run this command to see the list of rules in the default
`swift-format` configuration:

$ swift-format dump-configuration

## API Configuration

The `SwiftConfiguration` module contains a `Configuration` type that is
Expand Down

0 comments on commit f14a625

Please sign in to comment.