Users/vignesh.s/arc/arcanist
.arcconfig
file.{
"project_id": "convert",
"load": [
"/Users/vignesh.s/arc/arcanist/src/lint/engine/JsLintEngine.php"
],
"lint.engine": "JsLintEngine"
}
arc lint
it says this error Usage Exception: No lint engine configured for this project. Edit '.arcconfig' to specify a lint engine, or create an '.arclint' file.
arc lint -engine JsLintEngine
, it simply worksCan you tell me what is wrong here?
Your .arcconfig
file is probably not being read. Usually, this is because you've accidentally put it in the wrong place. To troubleshoot this:
arc
is up to date (by running arc upgrade
).arc lint --trace
to see where configuration is loaded from.The first few lines of output should show the .arcconfig
file being loaded, with a message similar to this one:
...
Working Copy: Reading .arcconfig from "/path/to/project/.arcconfig".
...
If arc
can not find a .arcconfig
file, you will see a message like this instead:
...
Working Copy: Unable to find .arcconfig in any of these locations: /path/to/project/.arcconfig.
...
If you see that second message, move your .arcconfig
file from where ever you currently have it to the specified location.