@pschaubroeck/stylelint-config-bsc-app

BSC stylelint shared configuration

Usage no npm install needed!

<script type="module">
  import pschaubroeckStylelintConfigBscApp from 'https://cdn.skypack.dev/@pschaubroeck/stylelint-config-bsc-app';
</script>

README

stylelint-config-bsc-app

stylelint shared configuration for Businessolver npm packages.

  • a generic ignore file, .stylelintignore, can be found in this package for use within your apps.
  • or add ignoreFiles to the stylelint package.json key

"ignoreFiles": [
    "coverage/**/*",
    "dist/**/*",
    "build/**/*",
    "node_modules/**/*",
    "public/**/*",
    "scripts/**/*",
    "static_storybook/**/*",
    ".*/**/*",
    "**/*.{js,jsx,json,md,mdx,log,snap,lock,eot,svg,ttf,woff,woff2,yaml}",
    "*.{js,jsx,json,md,mdx,log,snap,lock,eot,svg,ttf,woff,woff2,yaml}",
    ".*"
]

Stylelint

A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.

  • understands the latest CSS syntax including custom properties and level 4 selectors
  • extracts embedded styles from HTML, markdown and CSS-in-JS object & template literals
  • parses CSS-like syntaxes like SCSS, Sass, Less and SugarSS
  • has over 170 built-in rules to catch errors, apply limits and enforce stylistic conventions
  • supports plugins so you can create your own rules or make use of plugins written by the community
  • automatically fixes the majority of stylistic violations
  • is well tested with over 15000 unit tests
  • supports shareable configs that you can extend or create
  • is un-opinionated so that you can customize it to your exact needs

Documentation