Open nzakas opened 1 month ago
Now that we can lint JSON and Markdown, we should incorporate this into the setup flow.
The first question should now be (with checkboxes):
What do you want to lint? (x) JavaScript ( ) JSON ( ) JSON with comments ( ) JSON5 ( ) Markdown
The JavaScript option should be checked by default and if unchecked, we should add this to the config:
{ ignores: ["**/*.js", "**/*.cjs", "**/*.mjs"] }
If someone checks Markdown, then we should ask (radio buttons):
What flavor of Markdown to you want to lint? (x) CommonMark ( ) GitHub-Flavored Markdown
Now that we can lint JSON and Markdown, we should incorporate this into the setup flow.
First Question
The first question should now be (with checkboxes):
The JavaScript option should be checked by default and if unchecked, we should add this to the config:
If Markdown is Checked
If someone checks Markdown, then we should ask (radio buttons):