What's the difference between different configuration formats of stylelint -


there many options config stylelint,

  • a stylelint property in package.json
  • .stylelintrc.json, .stylelintrc.yaml, .stylelintrc.js etc.
  • a stylelint.config.js file

is there difference when i'm deciding 1 use? official document says:"you may want use extension text editor can better interpret file, , syntax checking , highlighting."any other difference except that?

thanks!

stylelint uses cosmiconfig, of options mention made available through cosmiconfig.

so it's more flexibility , offering personal choice stylelint users choose filename , format find suitable.

each of formats supported , have no other differences different formats offering different functionality, support of stylelints configuration options out of box


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -