@martylouis/stylelint-config

2.0.2 • Public • Published

@martylouis/stylelint-config npm version

An opinionated Stylelint config for writing neat CSS or SCSS. ~~ Now supports TailwindCSS directives.

Installation

1. Install this package with npx.

npx install-peerdeps --dev @martylouis/stylelint-config

2. Add this to your .stylintrc

{
  "extends": "@martylouis/stylelint-config"
}

VS Code AutoFormat setup:

  1. Install the Stylelint Extension
  2. Add this to your VS Code settings.json
{
  "editor.codeActionsOnSave": {
    "source.fixAll.stylelint": true,
  }
}

@martylouis on Twitter

Package Sidebar

Install

npm i @martylouis/stylelint-config

Weekly Downloads

1

Version

2.0.2

License

MIT

Unpacked Size

3.09 kB

Total Files

4

Last publish

Collaborators

  • martylouis