ESLint-Formatter icon indicating copy to clipboard operation
ESLint-Formatter copied to clipboard

local_eslint_path doesn't work

Open franciscolourenco opened this issue 8 years ago • 0 comments

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

franciscolourenco avatar Aug 13 '17 19:08 franciscolourenco