mas/.swiftlint.yml
Ross Goldberg 466ea67194
Improve scripts: bootstrap, build, format, lint, test & version.
Allow them to be run from any directory.

Call version from lint & test to create Package.swift with version info.

Fail when accessing unset variables.

Improve variable names.

Fix lint issues.

Improve lint & format scripts.

Don't require user input to continue linting.

Much cleaner lint output.

Reorder lint output.

Get swift-format from Brewfile instead of from Package.swift:

 - Speeds up linting.
 - Properly models dependency (not a code dependency).
 - swift-format depends on an old version of swift-argument-parser. Will refactor to use SAP soon.

Include some improvements from 1.8.7 PR.

Other scripts need improvement, too.

Resolve #545

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-05 20:33:45 -04:00

15 lines
278 B
YAML

#
# .swiftlint.yml
# mas
#
# https://github.com/realm/SwiftLint#configuration
#
---
disabled_rules:
- non_optional_string_data_conversion
- trailing_comma
excluded:
- docs
opening_brace:
ignore_multiline_function_signatures: true
ignore_multiline_statement_conditions: true