Skip to content

guchongxi/test-stylelint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEST STYLELINT

this repo is used to reproduce the issues #4289.

Step

  1. open terminal

  2. install node_modules

npm i

# or

yarn
  1. run scripts
yarn lint:style

will got

yarn run v1.17.3
$ stylelint '**/*.scss'

index.scss
 10:5  ✖  Expected "display" to come before "color" in group "Box Model"
 13:5  ✖  Expected "overflow" to come before "line-height" in group "Box Model"

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn lint-fix:style

will got

yarn run v1.17.3
$ stylelint '**/*.scss' --fix
✨  Done in 0.94s.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published