Subject of the feature
I would like to be able to ignore or suppress the Cannot process specified file: it’s ignored error because I want to run AlexJS with pre-commit (https://pre-commit.com).
I'm using this hook: https://github.com/mfisher87/alexjs-pre-commit-mirror
Problem
The way pre-commit automates running programs is by passing changed files to that program. If, for example, I ignore *.csv in .alexignore, then run pre-commit after changing foo.csv, pre-commit will call alex foo.csv, and AlexJS will complain and cause the check to fail even though everything is fine:
data/acadia.csv
1:1 error Cannot process specified file: it’s ignored
Expected behaviour
I'd like to pass an arg, for example --suppress-ignored-file-error, to convert this error to a warning, or to suppress it entirely.
Alternatives
Subject of the feature
I would like to be able to ignore or suppress the
Cannot process specified file: it’s ignorederror because I want to run AlexJS with pre-commit (https://pre-commit.com).I'm using this hook: https://github.com/mfisher87/alexjs-pre-commit-mirror
Problem
The way pre-commit automates running programs is by passing changed files to that program. If, for example, I ignore
*.csvin.alexignore, then run pre-commit after changingfoo.csv, pre-commit will callalex foo.csv, and AlexJS will complain and cause the check to fail even though everything is fine:Expected behaviour
I'd like to pass an arg, for example
--suppress-ignored-file-error, to convert this error to a warning, or to suppress it entirely.Alternatives