Open getify opened 5 years ago
Hi kyle, I would like to contribute
The way to contribute on this particular issue is to help collect information on what particular arrangement of config settings would be good as a preset default.
There's one config preset already, which is my own personal opinion on config, and can be seen here: https://github.com/getify/eslint-plugin-proper-arrows/blob/master/lib/index.js#L5-L14
I'd like for example have config presets that match (as closely as possible) the style guides of big projects like AirBnB, React, etc. But I don't know what those configs would need to be, so that needs to be researched and figured out.
Ideally, a preset could be discussed (in its own thread) and once we're all agreed on what it should consist of, then a simple PR would add it alongside the existing "getify-says" one.
so we have to find a proper name for config instead of 'getify-says' according to style guide of AirBnB, React, etc?
We'll have multiple presets... One will be "getify-says", but then yes we'll name the other presets according to their purpose or intended environment.
@getify I have gone through some different plugins, the most common are:
I have one more question , as currently we have only one config-'getify-says', are we planning to add more configs for differnet environment and usecases?
Define one (or more) configs that make it easier to use this plugin out of the box.
Add a "configs" to the plugin definition: https://eslint.org/docs/developer-guide/working-with-plugins#configs-in-plugins