Page MenuHomePhabricator

[LINTER] Add a YAML linter
ClosedPublic

Authored by Fabien on Sep 4 2020, 08:27.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCb278e1ae9833: [LINTER] Add a YAML linter
Summary

This uses a relaxed rule set for now, which does not enforce a strict
number of indentation spaces but instead check the file is consistently
indented. The maximum line lenght rule is also disabled to accomodate
the scripts in the gitian descriptors.

Test Plan

Should return no error:

arc lint --everything

Revert the changes to the .travis.yml from this diff then run:

arc lint

and check the indentation errors are catched by the linter.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Sep 4 2020, 08:27
This revision is now accepted and ready to land.Sep 4 2020, 12:54

Add the linter to the base Debian config

This revision was automatically updated to reflect the committed changes.