Fixes T7464. JSHint is unable to exclude files from linting (via the jshintignore file) if the data is piped through STDIN. An alternative would be to pass $options[] = '--filename='.$this->getActivePath(), but $this->getActivePath() is not set when the command arguments are constructed.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T7464: jshint.jshintignore not working
- Commits
- rARC4b2d8e3f69c2: Don't pass data to `jshint` via STDIN
Created a file and linted it with ArcanistJSHintLinter. Was able to exclude the file from linting with a jshintignore file.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable