Paul Taykalo
8b307ba960
Make tests great again
2019-11-17 21:22:57 +02:00
Paul Taykalo
03e1c32230
Use lazy linesContainer
2019-11-17 21:22:57 +02:00
Paul Taykalo
0dcc37ecca
39 errors left
2019-11-17 21:22:57 +02:00
Kevin Randrup
d7439410e9
Introduce " - " delimiter to allow rules to be commented ( #2721 )
...
* Introduce " - " delimiter to allow rules to be commented
Ex. swiftlint:disable:next force_try - Explanation here
* Fix changelog formatting
2019-05-12 21:40:12 -07:00
Marcelo Fabri
bf9758679b
Support commands using “/* .. */“
2019-02-09 01:48:36 -08:00
Marcelo Fabri
735c432eaf
Skip whitespace only rule identifiers
2019-02-09 01:36:03 -08:00
Marcelo Fabri
cf0c7b7b21
Use default Equatable and Hashable implementations
2018-11-19 09:51:12 -08:00
Marcelo Fabri
1f121b1ef7
Enable static_operator opt-in rule in SwiftLint
2018-09-16 20:33:28 -07:00
Marcelo Fabri
f2d14e7c5a
`redundant_optional_initialization` rule now lints local variables
...
Fixes #2233
2018-07-21 21:35:24 -07: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
Frederick Pietschmann
00154e9631
Improve map syntax
2018-03-21 07:42:46 +01:00
Frederick Pietschmann
0ad2488d7e
Add all keyword
2018-03-21 07:42:46 +01:00
JP Simard
c57c47d66f
Remove unnecessary Swift version differences
2017-10-04 13:49:40 -07:00
JP Simard
01e4831a7c
Update for Swift 4 in Xcode 9 beta 6 and latest Linux snapshot
2017-09-10 13:48:37 -07:00
Marcelo Fabri
fd231b607d
Fix existing violations
2017-06-13 16:12:58 +02:00
JP Simard
592537966c
make `Region` & `Command` structs conform to `Equatable`
2017-05-24 11:33:39 -07:00
JP Simard
7fb1875613
move CommandAction and CommandModifier into Command type
...
and make Command.modifier private
2017-01-09 16:25:19 -08:00
JP Simard
5b98fbe2f6
make Command.swift compile on Linux
...
by addressing differences in APIs between Scanner on Linux and Darwin.
2016-12-11 14:04:49 -08:00
JP Simard
0faf567931
use bridge() rather than explict or implicit casts
...
this is a step in aligning the code to compile on both Darwin and
Linux
2016-12-11 13:47:44 -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
Norio Nomura
7c12a63e8f
Merge commit '58eb0f69c4055bb2cb89b3df278eca6ce0fb1c34' into swift3.0
...
* commit '58eb0f69c4055bb2cb89b3df278eca6ce0fb1c34':
generally clean up usage of swiftlint comment commands
update README to reflect the ability to specify multiple rules in commands
add changelog entry
allow specifying multiple rule identifiers in comment commands
# Conflicts:
# Source/SwiftLintFramework/Extensions/NSRegularExpression+SwiftLint.swift
# Source/SwiftLintFramework/Models/Command.swift
# Source/SwiftLintFramework/Rules/LegacyNSGeometryFunctionsRule.swift
# Tests/SwiftLintFrameworkTests/ConfigurationTests.swift
# Tests/SwiftLintFrameworkTests/IntegrationTests.swift
2016-11-30 18:42:40 +09:00
JP Simard
639a18181c
allow specifying multiple rule identifiers in comment commands
2016-11-25 12:56:48 -08:00
Norio Nomura
3ff76e7ce8
Update SourceKitten
2016-11-04 20:24:21 +09:00
Norio Nomura
ec3f9d0c94
Fix line_length style violations, unused warnings
2016-10-13 22:40:45 +09:00
Norio Nomura
8bf15f1dba
Migrate to Swift 3.0
2016-10-09 01:09:50 +09:00
JP Simard
c66c5c8df0
formatting fixes
...
found running `swiftlint autocorrect --format`
2016-05-29 14:58:28 -07:00
JP Simard
d60a85aae0
make commands with modifiers work for violations with line-only locations
2016-01-04 13:25:57 -08:00
JP Simard
65f992d8fe
Support command comment modifiers
...
addresses #222
2015-12-27 21:06:12 -05:00
crimsonwoods
4806e31f23
Rename `lineAndCharacterForByteOffset` to `lineAndCharacterForCharacterOffset`.
...
According to a change 247f02eff4
,
method name should be changed.
2015-11-18 12:05:08 +09:00
JP Simard
8a30cb2e3d
organize Xcode project
...
make Extensions, Models & Protocols groups under SourceKittenFramework
2015-11-15 15:07:25 -08:00