According to coffeelint --help, --noconfig ignores the environment variable COFFEELINT_CONFIG. This means that arc lint will behave more consistently across developer workstations by forcing configuration to be specified with coffeelint.config instead of with environment variables.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCf6b3f3c46a04: Ignore environment variables for `coffeelint`
This is mostly theoretical.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
@joshuaspence Sad to say the theory is wrong, this options disables reading any config at all:
https://github.com/clutchski/coffeelint/blob/48cd906b4b403cc7e949fe5e630a89dd413c6ba6/src/commandline.coffee#L65
https://github.com/clutchski/coffeelint/blob/48cd906b4b403cc7e949fe5e630a89dd413c6ba6/src/commandline.coffee#L190
I'll make a diff to revert this.
PS not coffeelint.config but coffeelint.json is the default place.
Comment Actions
It is confirmed that this is a bug in the coffeelint docs: https://github.com/clutchski/coffeelint/pull/364