eslint-friendly-formatter
eslint-friendly-formatter copied to clipboard
Using solarized light theme in intellij the white rule name is not visible light tan background
Can you either change the rule color to something that works on light or dark like chalk.green or add an env var to configure the rule color to use.
i.e. light with white
dark with white
vs.
light with green
dark with green
I wouldn't address this issue using environment variables, Instead, I suggest the api should support receiving color mapping for the various outputs.
@royriojas What do you think?
@eladchen, sure it can be also a parameter, the problem is that since this tool is executed from eslint, the flags to the reporter need to be passed doing something like:
eslint -f node_modules/eslint-friendly-formatter client/**/*.js server/**/*.js -- --eff-theme="solarized" #notice the -- before the reporter flags
but I'm definitively open to PRs for this feature.
There is already this option in the meantime, hope it help