1.0.3 • Published 6 months ago

@delement/stylelint-config-master v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Stylelint rules from Digital Element

Usage

Install stylelint first, then add this package In stylelint.config.mjs configuration file:

import stylelintCfg from "@delement/stylelint-config-master";

/** @type {import('stylelint').Config} */
export default {
  ...stylelintCfg
  // Rules overwriting...
};

Now you can run it via stylelint ./src/**/*.pcss --fix command.

Features

  • support for PostCSS-only (.pcss) files by default;
  • rules and properties order;
  • camelCase for classnames, custom properties, @keyframes and @media rules;
  • strong indentations with two spaces;
  • only two empty lines.