1.0.1 • Published 2 years ago

@lightech-llc/stylelint-config v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Installation and setup

  • Run the commands:
yarn add -D @lightech-llc/stylelint-config
yarn add -D postcss
  • Create the file .stylelintrc at the source root of your project, example:
{
  "extends": [
    "@lightech-llc/stylelint-config/scss",
    "@lightech-llc/stylelint-config/angular"
  ],
  "ignoreFiles": [
    "**/dist/**",
    "**/coverage/**",
    "**/node_modules/**",
    "**/.angular/**"
  ]
}
  • Add next script to package.json:
"scripts": {
  "stylelint": "stylelint '**/*.scss'"
}