lit-analyzer icon indicating copy to clipboard operation
lit-analyzer copied to clipboard

Add a config file

Open jjspace opened this issue 5 years ago • 2 comments

This is a great tool with lot's of options. However it's really annoying to try and modify rules purely from the CLI arguments.

Please add a configuration file (maybe using cosmiconfig?) so it's easier to create custom configuration and share with a team. Every other big linter (eg. eslint, prettier) I've used has a configuration file which makes it super easy to modify which rules I have enabled.

The other big part of this is that there's currently no way to have lit-plugin and the lit-analyzer CLI use the same configuration unless you go through the plugin settings one by one. Even then you can't guarantee that a whole team will have the same plugin settings defeating the point of using the plugin to give you a look at what errors/warnings the CLI will spit out.

jjspace avatar Feb 06 '21 00:02 jjspace

+1 I would like to share the rule settings between the VSC plugin and the analyzer in my project

danielvanmil avatar Mar 03 '22 13:03 danielvanmil