JP Simard
4bd7da32ea
Reduce visibility of rules to be `internal` ( #4533 )
...
There's no reason to expose these publicly and this will make it nicer
to move to a new module outside of the core SwiftLint functionality.
2022-11-09 11:01:26 -05:00
Marcelo Fabri
f8a4276aba
Rewrite `generic_type_name` rule with SwiftSyntax ( #4229 )
2022-09-21 08:29:52 -07:00
JP Simard
ffb2f4f76d
Require Swift 5.0 to build ( #2857 )
...
* Require Swift 5.0 to build
* Update CI
* Stop testing with Swift 4.x & Xcode 10.0/10.1
* Use official Swift docker image instead of norionomura's
* Use Xcode 10.3 as latest stable version
* Update READMEs
* Fixup xcodeproj
* Fixup CI Swift container image tag
* Fixup changelog
2019-09-03 11:42:57 -04:00
Marcelo Fabri
cf0c7b7b21
Use default Equatable and Hashable implementations
2018-11-19 09:51:12 -08:00
JP Simard
b83e0991b9
Remove all file headers
...
The MIT license doesn't require that all files be prepended with this
licensing or copyright information. Realm confirmed that they're ok with this
change. This will enable some companies to contribute to SwiftLint and the
date & authorship information will remain accessible via git source control.
2018-05-04 13:42:02 -07:00
Cyril Lashkevich
10ba712748
Fix for crash on Linux on sources with surrogate characters
...
Because of the bug https://bugs.swift.org/browse/SR-5971 SwiftLint
crashes when linting on Linux files like https://github.com/xmartlabs/Eureka/blob/master/Example/Example/ViewController.swift
2018-03-17 19:51:24 +01:00
Marcelo Fabri
06f9d4c0f7
Fix false negatives when using allowed_symbols
2017-09-30 00:50:30 -03:00
Marcelo Fabri
c01f4bd19f
Enable extension_access_modifier rule
2017-07-21 21:08:52 +02:00
Marcelo Fabri
102bca6155
Use validates_start_with_lowercase key on NameConfiguration
...
Fixes #1626
2017-06-18 20:13:31 +02:00
JP Simard
0c0952046c
ensure deterministic consoleDescription & cacheDescription generation
2017-05-19 09:25:53 -07:00
Javier Hernández
9d31eaccda
Rename option to validates_start_lowercase
2017-05-10 20:53:44 +01:00
Javier Hernández
fe916c121f
Add option to allow names to start with uppercase
2017-05-10 20:53:44 +01:00
Javier Hernández
93583f3153
Add option to exclude non alphanumeric characters
2017-05-10 20:53:42 +01:00
JP Simard
9e7cdc3282
update SwiftLintFramework/Protocols to follow Swift 3 API Design Guidelines
2017-01-09 19:19:25 -08:00
JP Simard
19fad01b29
make all enum members lowercase to comply with Swift 3 API Guidelines
2016-12-01 22:16:21 -08:00
JP Simard
0b481f1e16
change Array.arrayOf(_:) to Array.array(of:)
2016-12-01 18:09:38 -08:00
Norio Nomura
8bf15f1dba
Migrate to Swift 3.0
2016-10-09 01:09:50 +09:00
JP Simard
601470ab8f
expand some instances of "config" to "configuration"
2016-02-12 10:53:36 -08:00
JP Simard
144495306b
rename rule configurations to expand "Config" to "Configuration"
2016-02-12 10:53:36 -08:00