Commit graph

15 commits

Author SHA1 Message Date
Ben Chatelain
8eeb204ad7
🚨 Fix YAML list indentation 2024-11-03 11:40:46 -07:00
Ben Chatelain
750930e01a
Merge branch 'main' into releases/release-1.8.7
# Conflicts:
#	.swiftlint.yml
#	script/bottle
2024-11-02 12:08:50 -06:00
Ross Goldberg
5209ccd16b
Improve downloading output.
Update linting for access control on extensions.

Resolve #307

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-30 03:48:00 -04:00
Ross Goldberg
e9fcf2b254
Merge branch 'main' into upstream/releases/release-1.8.7
Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>

# Manual Merge Cleanup:
#	.actrc
#	.github/workflows/pr-checks.yml
#	.github/workflows/release.yml
#	Brewfile
#	script/test
#	script/version_bump

# Conflicts:
#	.github/workflows/build-test.yml
#	.gitignore
#	.swiftlint.yml
#	Brewfile.lock.json
#	Package.resolved
#	Sources/mas/Package.swift
#	Tests/masTests/.swiftlint.yml
#	script/bootstrap
#	script/build
#	script/format
#	script/lint
#	script/uninstall
#	script/version
2024-10-27 01:25:38 -04:00
Ross Goldberg
c36a797ac2
SwiftLint
opt_in_rules:
- all

Resolve #592

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-23 06:18:34 -04:00
Ross Goldberg
4d4dd02cd3
Improve lint configurations.
Partial #592

Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
2024-10-23 06:18:34 -04:00
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
Ben Chatelain
7d063d6d0e
Merge branch 'main' into releases/release-1.8.7
# Conflicts:
#	.swiftlint.yml
2024-07-29 17:20:05 -06:00
Tony Arnold
3484d25e7b
Disable non_optional_string_data_conversion SwiftLint rule 2024-07-01 18:35:08 +10:00
Ben Chatelain
8eab75ed9a 🎨 Format YAML files 2024-02-18 14:05:02 -07:00
Chris Araman
4848f422d6 🧹 Match swift-format to compiler version
Fixes #364.
2021-05-08 20:14:18 -07:00
Chris Araman
df9730d65f
🧹 Lint with swift-format 2021-03-28 14:21:14 -07:00
Ben Chatelain
a9553ae4d0 🔧 Enable linting tests, disable some rules 2020-05-14 21:08:38 -06:00
Ben Chatelain
16dad82ccf 🎨 Reformat swiftlint config to match hound’s default
https://raw.githubusercontent.com/houndci/swift/master/config/default.yml
2019-01-24 21:39:08 -07:00
Ben Chatelain
ec3d9d859a 🔧 Add swiftlint config 2019-01-11 17:25:55 -07:00