ESLint-Formatter
ESLint-Formatter copied to clipboard
local_eslint_path doesn't work
This is my sublime project. .sublime-project
{
"folders":
[
{
"path": "."
}
],
"settings": {
"ESLint-Formatter": {
"format_on_save": true,
"config_path": "website/.eslintrc",
"local_eslint_path": {
"osx": "website/node_modules/.bin/eslint"
}
}
}
}
I open the project using the project file, not the folder.
local_eslint_path and config_path are supposed to be resolved relative to the project root, however the plugin doesn't seem to resolve correctly since it defaults to defaults.
EDIT: absolute path seems to work for config_path but not for local_eslint_path