Releases: FlineDev/AnyLint
Releases · FlineDev/AnyLint
0.8.1
0.8.0
Added
- Added new
repeatIfAutoCorrected
option tocheckFileContents
method to repeat the check if last run did any auto-corrections.
Issue: #29 | PR: #31 | Author: Cihat Gündüz - Added new Regex Cheat Sheet section to README including a tip on how to workaround the pointer issue.
Issue: #3 | PR: #32 | Author: Cihat Gündüz
0.7.0
Added
- A new AnyLint custom check was added to ensure
AnyLint
fails whenLinuxMain.swift
isn't up-to-date, useful as a git pre-commit hook.
Author: Cihat Gündüz | PR: #28
Changed
- When a given
autoCorrectReplacement
on thecheckFileContents
method leads to no changes, the matched string of the givenregex
is considered to be already correct, thus no violation is reported anymore.
Issue: #26 | PR: #28 | Author: Cihat Gündüz - A CI pipeline using GitHub Actions was setup, which is much faster as it runs multiple tasks in parallel than Bitrise.
Author: Cihat Gündüz
0.6.3
Added
- Summary output states how many files have been checked to make it easier to find include/exclude regexes.
Author: Cihat Gündüz - Made
Violation
public for usage incustomCheck
methods.
Author: Cihat Gündüz
Changed
- Removed version specifier from
lint.swift
file to get always latestAnyLint
library.
Author: Cihat Gündüz
0.6.2
0.6.1
Changed
- Hugely improved performance of subsequent file searches with the same combination of
includeFilters
andexcludeFilters
. For example, if 30 checks were sharing the same filters, each file search is now ~8x faster.
Issue: #20 | PR: #21 | Author: Cihat Gündüz
0.6.0
0.5.0
Added
- New
-s
/--strict
option to fail on warnings as well (by default fails only on errors).
PR: #15 | Author: Cihat Gündüz - New
-l
/--validate
option to only run validations formatchingExamples
,nonMatchingExamples
andautoCorrectExamples
.
PR: #17 | Author: Cihat Gündüz
0.4.0
0.3.0
Added
- Made
AutoCorrection
expressible by Dictionary literals and updated theREADME.md
accordingly.
Issue: #5 | PR: #11 | Author: Cihat Gündüz - Added option to skip checks within file contents by specifying
AnyLint.skipHere: <CheckInfo.ID>
orAnyLint.skipInFile: <All or CheckInfo.ID>
. Checkout the Skip file content checks README section for more info.
Issue: #9 | PR: #12 | Author: Cihat Gündüz