royriojas/eslint-friendly-formatter

Reason for absolute path?

mathieumg opened this issue · 2 comments

Is there any reason the path is made absolute in

filePath: path.resolve( result.filePath )
? I would like to keep the path as outputted initially by ESLint and making it absolute also breaks the Guake quick open feature.

Thanks!

iterm2 does not play well with relative ones. Maybe an environment variable to modify this? I'm not aware if the formatters can receive parameters from eslint. Can they?

If not I guess the env variable solution might help.

pull requests welcome.

Fixed and released v.1.1.0