Page MenuHomePhabricator

[arclint] Ignore spelling for generated package-lock.json files
ClosedPublic

Authored by bytesofman on Mar 3 2022, 21:29.

Details

Summary

Coincidental lint warnings are occasionally thrown on these generated files (e.g. in D11120). This diff ignores package-lock.json files when running the spelling linter.

These files are generated, but cannot have comments in them, so can't just mark them as generated to otherwise ignore.

Test Plan

arc lint and ensure package-lock.json files are not scanned. One way to do it is to arc patch 11120, arc lint, observe errors, make this change, arc lint again, observe no errors.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ignore-spelling-lint-package-lock-json
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18399
Build 36595: Build Diff
Build 36594: arc lint + arc unit