Features
➤ feat: add --cache option to lint only changed files (#1763)
Special thanks to @mad-gooze
This PR adds three new cli options:
--cache
that enables caching lint results on disk--cache-location <path>
that sets cache file location--cache-strategy <metadata|content>
that sets cache strategy used by file-entry-cache
Cache implementation is heavily inspired by ESLint
Fixes
➤ fix: Reduce the cost of regexp exclusions (#1800)
Fix #1775
➤ dev: Do not spell check generated files. (#1779)
➤ fix: Update Python dictionary (#1778)
➤ fix: Ensure cli-reporter displays the correct message. (#1774)
- Use a substitution function to ensure Issue formatting is correct.
➤ fix: Display filenames instead of URI's (#1773)
When issues are displayed, show the filename, not the URI.
➤ dev: change the integration report format (#1749)
Make it more robust against minor changes.
The goal is to keep diffs small.
➤ fix: make sure issue.uri
is actually a URI. (#1746)
➤ fix: Patterns - only add u
if no flags are given (#1745)
u
is over 100x slower to run. So, only add it if no flags are given.
Logic: If they know enough to add flags, then they can add u
if needed.
Related to: #1699
➤ dev: Update German dictionary in integration tests (#1744)
➤ fix: Improve Patterns and RegExp handling (#1743)
➤ fix: Allow config file version to be a number. (#1730)
fix: #1729
Testing
➤ test: Update suggest-en.test.ts (#1798)
Make the timeout a bit longer because this test is flaky on Mac / Windows runners.
Maintenance
➤ chore: Add Dependabot for Gemfile (#1801)
I didn't add it to the 4 branch, because the site can only run off one branch
➤ Update issues-lock.yml (#1797)
➤ ci: Update Gemfile.lock (#1799)
➤ ci: Update cspell-action.yml (#1782)
➤ ci: Try to speed up npm install
(#1768)
➤ ci: cache integration test repo files (#1769)
➤ ci: Use only the integration commit for the repo hash (#1767)
➤ ci: Use individual integration test repo info for hash (#1766)
➤ ci: Try caching integration test runs to avoid repeat runs. (#1764)
Only run an integration test if something has changed.
➤ ci: Support Manual Integration Test runs (#1762)
Add caching for builds
➤ ci:Revert - Disable Coveralls (#1732)
When the Coveralls API is back online, land this diff.
"ci: Disable Coveralls - their API has been down for a couple of days. (#1731)"
This reverts commit 9922998.
➤ ci: Disable Coveralls - their API has been down for a couple of days. (#1731)