- Fix
filter_issues_in_diff
mode when diff contains removed lines above a violation. See #147
- Updates to SwiftLint 0.39.1.
- Improves performance for large code bases. See #141.
- Update SwiftLint to 0.38.0
- Migrates from individual SwiftLint invocations to using the
--use-script-input-files
option. See #135.
- Adds support to filter issues found in git diff. See #132.
- Performance improvements when
lint_all_files
istrue
. See #131.
- Adds
no_comment
option. See #130.
- Adds
strict
option. See #128.
- Adds ability to filter out violation reports with a block. See #127.
- Fix gem installation when installation path contains spaces. See #126.
- Updates to SwiftLint 0.31.0.
- Adds the rule ID and filename:line to GitHub comments. See #122.
- Fixes incorrect specifying of the
--force-exclude
option, which leads to theNo lintable files found at path
error. See #87 discussion.
- Fixes problem with unary plus operator. See #119.
- Add
lint_all_files
option. This will lint all existing files (instead of just the added/modified ones). However, nested configurations works when this option is enabled.
- Updates to SwiftLint 0.28.1.
- Updates to SwiftLint 0.27.0.
- Fix use of
return
in native extensionRakefile
. See #106. - Add
DANGER_
prefix toDANGER_SKIP_SWIFTLINT_INSTALL
. See #106.
- Add support for skipping installation of SwiftLint tool. (See #106)
- Updates to SwiftLint 0.26.0.
- Updates to SwiftLint 0.25.1.
- Forces exclusion for files specified as excluded in
.swiftlint.yml
. (See #87.)
- Add support for Environment variables which are supported in Swiftlint since 0.21.0 (See realm/SwiftLint#1512).
- Added logging for excluded and included paths to improve debugging this functionality.
- Removed unneeded extra files logging in while using verbose
- Breaking Change: for anyone using
inline_mode: true
, we now respectfail_on_error
, which isfalse
by default. Setfail_on_error: true
to restore previous behaviour. See #91. - Refactors to use symbols instead of strings for
send
function.
- Updated to SwiftLint version 0.25.0
- Fixes Danger crashing on
fail_on_error: true
. See #90.
- Fixes problem with frozen string literals by requiring Ruby 2.3 or higher. See #88.
- Fixes compatibility with Ruby 2.2.x and older. See #83.
- Utilize
included
rule when finding files. See #79.
- Removes test fixtures from gemspec.
- Fixes #68, specifying a config file directly should work again.
- Fixes issue with non-escaping paths. Reverts #63.
- Allows setting the maximum number of issues being reported in a PR. See #65.
- Integrates Rubocop linter to ensure code quality. See #61.
- Fixes issue where
directory
variable was not escaped. See 62.
- Expands config paths to be absolute when passed to
swiftlint
. - Adds verbose logging option.
- Adds
additional_swiftlint_args
option. See#57.
- Fixes linting of superfluous files in subdirectories. See #53.
- Fixes Directory not found error. See #51.
- Fixes issue with missing
.swiftlint.yml
file. See #52. - Adds
fail_on_error
option. See #55
- Bump managed SwiftLint version to 0.20.1
- Fixes problem with differing swiftlint paths. See #44.
- Fixed excluded files containing characters that need escaping. See #40.
- Bump managed SwiftLint version to 0.18.1
- Fixes deleted files being added to the list of files to lint. See #34.
-
Support for inline comments. See #29
-
Adds SwiftLint installation as part of the gem install process, should make it easier to track which upstream fixes should or shouldn't be done by danger-swiftlint. See #25
-
Add
danger-swiftlint
CLI, withswiftlint_version
command to print the version of the SwiftLint binary installed by the plugin. See #32
- Adds selective linting, now SwiftLint will only run on the PR added and modified files. See #23
- Adds support for specifying a directory in which to run SwiftLint. See #19.
- Adds support for files with spaces in their names. See #9.
- Fixes double-escaped newline characters. See #11.
- Initial release.