JP Simard
c261a863fb
WIP statically link lib_InternalSwiftSyntaxParser
...
https://twitter.com/SmileyKeith/status/1487138138468196352
2022-01-31 13:12:19 -05:00
JP Simard
1864d77f37
Fix testDetectSwiftVersion() test when running with Swift 5.6
2022-01-30 13:35:13 -05:00
Danny Moesch
f9be00421e
Rename values for "Enabled by default" property ( #3833 )
2022-01-29 13:35:09 -05:00
JP Simard
2f2a4ad680
[ClosureEndIndentationRule] Fix crash with Swift 5.6 ( #3831 )
...
Fixes https://github.com/realm/SwiftLint/issues/3830
2022-01-27 17:36:31 -05:00
JP Simard
f8909b5c0f
Add empty changelog section
2022-01-27 09:46:32 -05:00
JP Simard
b4a54f32df
release 0.46.2
2022-01-27 09:16:25 -05:00
JP Simard
23b5c2b0ec
Fix changelog formatting
2022-01-27 09:04:43 -05:00
Steven
09f6f1bc83
Fix `class_delegate_protocol` false positives when using `where` clause ( #3829 )
2022-01-27 06:03:53 -08:00
JP Simard
b107180cf5
[CI] Fix codecov integration ( #3828 )
...
This has been broken since we removed the Xcode project in #3414 over a
year ago.
2022-01-25 15:13:14 -08:00
JP Simard
d65a708f29
Add Swift 5.5 / Xcode 13.2.1 CI jobs ( #3827 )
...
And lint the SwiftLint podspec in addition to the SwiftLintFramework one
2022-01-25 14:33:59 -08:00
JP Simard
068f6037fe
[CI] Move back to Azure Pipelines ( #3826 )
...
Yesterday I started moving SwiftLint's CI jobs from Azure Pipelines to
GitHub Actions, which has nicer integrations with GitHub's web UI and
feels nicer & more lightweight overall.
However, GitHub Actions has a serious limitation compared to Azure
Pipelines, which is that it only has 5x macOS job concurrency vs Azure's
10x ([see Twitter](https://twitter.com/simjp/status/1326592600393068546 )).
This leads to significant queuing when merging PRs or pushing to PRs in
a short span, which is the main way I work on SwiftLint when catching up
on PR/issue backlog every few months.
A quick timing check showed that a PR using Azure Pipelines (#3825 ) took
26m 47s vs GitHub Actions (#3824 ) took 32m 31s. These PRs were opened at
a time when no other CI jobs were running, so even though Azure
Pipelines already took 6 minutes less to run than GitHub Actions, that
difference would be even larger if there had been other PRs triggering
CI jobs at the same time.
So I think the best move for the project for the time being is to stay
with Azure Pipelines for its CI. If GitHub ever increases its macOS
concurrency to match Azure Pipelines's 10x we can explore this again.
2022-01-25 13:56:58 -08:00
JP Simard
c5ea00c2d7
Fix CI badges
2022-01-24 23:41:58 -05:00
JP Simard
4525e9999b
Move remaining CI jobs to GitHub Actions ( #3822 )
...
Analyze, TSan, Xcode & Docs
2022-01-24 20:29:33 -08:00
JP Simard
006bb2a85e
Sort implicit return configuration description ( #3823 )
...
To make the output deterministic
2022-01-24 17:13:12 -08:00
JP Simard
83560fffa7
Move SwiftLint Analyze CI job to GitHub Actions ( #3820 )
2022-01-24 16:25:39 -08:00
JP Simard
0c731e72da
Bump Xcode version used by jazzy CI job ( #3821 )
2022-01-24 16:00:22 -08:00
JP Simard
2bd54cf3ce
Move CocoaPods CI jobs to GitHub Actions ( #3819 )
2022-01-24 15:24:42 -08:00
JP Simard
4c3bb24a04
Move SwiftPM CI jobs to GitHub Actions ( #3818 )
2022-01-24 14:59:14 -08:00
JP Simard
db3422b69a
Move changelog entry from breaking to bug fixes
2022-01-24 13:31:49 -05:00
JP Simard
6ce4766517
Fix pkg installer ( #3817 )
2022-01-24 18:26:52 +00:00
Danny Moesch
a94d120839
Ignore `prefer_self_in_static_references` rule in extensions generally ( #3813 )
2022-01-24 09:57:57 -08:00
Danny Moesch
0f55447956
Use pre-defined set of extension kinds ( #3814 )
2022-01-24 09:55:01 -08:00
JP Simard
b91b56c14d
Add empty changelog section
2022-01-21 17:11:56 -05:00
JP Simard
61c5351978
release 0.46.1
2022-01-21 16:59:57 -05:00
JP Simard
31872aaa3f
Re-add 'weak_delegate' rule as opt-in
...
After feedback from users: https://github.com/realm/SwiftLint/pull/3809#issuecomment-1018859093
2022-01-21 16:57:13 -05:00
JP Simard
17779cbfd4
release 0.46.0
2022-01-21 15:57:48 -05:00
JP Simard
73e6cef0c2
Add changelog entry for Docker
2022-01-21 15:52:31 -05:00
Danny Moesch
d99be668c5
Ignore more locations of static references not using 'Self' in classes ( #3771 )
...
Static references with `Self` are not allowed to define
* default values of properties,
* annotation parameter values and
* default method parameter values
in classes.
2022-01-21 12:43:12 -08:00
JP Simard
3d1821d3c0
Revert "Publish a multi-platform Docker image"
...
This reverts commits 76dae19b1c
&
11e86babc7
.
2022-01-21 15:38:21 -05:00
JP Simard
76dae19b1c
fixup! Publish a multi-platform Docker image
2022-01-21 15:36:14 -05:00
JP Simard
11e86babc7
Publish a multi-platform Docker image
2022-01-21 15:33:00 -05:00
JP Simard
fb7755adf5
Minor edits to changelog entries
2022-01-21 14:55:01 -05:00
JP Simard
e3f232ec28
Fix `convenience_type` false positives when using actors ( #3812 )
...
Fixes https://github.com/realm/SwiftLint/issues/3761 .
2022-01-21 19:54:59 +00:00
JP Simard
d534a30a78
Fix OSSCheck ( #3810 )
...
Maybe can fix cases like these: https://github.com/realm/SwiftLint/pull/3803#issuecomment-1008461939
2022-01-21 18:09:59 +00:00
JP Simard
341ec2a907
Remove 'weak_delegate' rule ( #3809 )
...
This was very prone to false positives and not worth keeping.
The identifier will stick around for a release to ease the migration.
2022-01-21 17:56:59 +00:00
Sergei
aff3536bb8
Fix the regex for expiring-todos. ( #3803 )
...
- Make "middle part" `.*` not so greedy with `?`.
- Use `(?!` negative look-ahead to improve matching.
- Added corresponding unit tests.
Co-authored-by: Sergei Shirokov <sshirokov@malwarebytes.com>
2022-01-21 17:42:17 +00:00
Francisco Javier Trujillo Mata
c52d4cde8d
Add usage of Docker into the Readme ( #3808 )
2022-01-21 08:28:19 -08:00
Ikko Ashimine
640efba68d
Fix typo: implict -> implicit
2022-01-21 11:05:21 -05:00
Andrés Cecilia Luque
af59581b66
Fix specifying the cachePath from command line ( #3797 )
2022-01-21 08:01:48 -08:00
Ikko Ashimine
3d7775de11
Fix typo in CommentSpacingRule.swift ( #3795 )
...
charcter -> character
2022-01-21 07:47:14 -08:00
Ethan Wong
5fd8ef38c1
Fix malformed doc for rule "InclusiveLanguage".
2022-01-21 10:45:15 -05:00
Ethan Wong
bb37a253e2
Add rule identifiers in 'Rule Directory' documentation page.
2022-01-21 10:43:09 -05:00
JP Simard
f38083998d
Update docker.yml
2022-01-21 07:39:47 -08:00
Francisco Javier Trujillo Mata
a2ada88fd1
Upload Docker Image in to Github Container ( #3791 )
2022-01-21 07:38:47 -08:00
Paul Williamson
9e37d0fa44
Prevent false triggering of `unused_closure_parameter` when using list bindings ( #3799 )
2022-01-21 07:35:12 -08:00
Sam Soffes
09d912ca37
Update README.md ( #3778 )
...
Since Homebrew installs to a path that isn't in Xcode's path by default, we need to add to the path to support the default location Homebrew installs SwiftLint on Apple Silicon.
From https://stackoverflow.com/a/66003612/118631
2022-01-21 07:02:14 -08:00
grosem
c90c329f12
Allow unused_setter_value for overrides ( #3653 )
...
Fixes #2585
2022-01-20 22:53:18 +00:00
Ezequiel França
2408839be3
Updating Readme to replace autocorrect by fix ( #3779 )
2021-12-16 14:08:29 +00:00
JP Simard
027bdcdc95
Fix crash when parsing multi-line attributes with the `attributes` rule ( #3776 )
...
Fixes #3761
2021-12-06 16:08:53 +00:00
JP Simard
559685823e
Add empty changelog section
2021-11-29 17:04:02 -05:00