Skip to content

Commit

Permalink
Update swiftformat version, enable preferDouble rule (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphatroya authored Sep 13, 2022
1 parent 62aba5a commit c77b3b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.2.26] - 2022-09-13
### Changed
- Обновил swiftformat 0.49.18
- Включил preferDouble правило для swiftformat

## [1.2.25] - 2022-09-12
### Changed
Expand Down
4 changes: 2 additions & 2 deletions {{ cookiecutter.name }}/.swiftformat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--swiftversion 5.5
--swiftversion 5.6
--header strip
--exclude **/Generated
--maxwidth 140
--wraparguments before-first
--wrapcollections before-first
--enable isEmpty,organizeDeclarations,markTypes
--enable isEmpty,organizeDeclarations,markTypes,preferDouble
--lifecycle viewDidLoad,viewWillAppear,viewDidAppear,viewDidDisappear,viewWillDisappear
2 changes: 1 addition & 1 deletion {{ cookiecutter.name }}/Mintfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Nonchalant/AppIcon@1.0.5
nicklockwood/SwiftFormat@0.49.9
nicklockwood/SwiftFormat@0.49.18
realm/swiftlint@0.49.1
swiftgen/swiftgen@6.5.1
yonaskolb/XcodeGen@2.29.0
2 changes: 1 addition & 1 deletion {{ cookiecutter.name }}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The project uses the version of Xcode specified in the `.xcode-version` file
The project was generated using the [cookiecutter tool](https://github.com/audreyr/cookiecutter)
and [this](https://github.com/alphatroya/swift-project-template) swift template.

Template version: 1.2.25
Template version: 1.2.26

## AppStore credentials

Expand Down

0 comments on commit c77b3b9

Please sign in to comment.