Stylelint is a modern CSS linter. Here you can create your configuration file.
The best way to use stylelint is to extend stylelint-config-standard, so you can focus on the main options.
Answer the questions and get your content for .stylelintrc. Read more about it's using in the docs.