7.1.0 • Published 2 months ago

@ofk/stylelint-config-recommend v7.1.0

Weekly downloads
12
License
MIT
Repository
github
Last release
2 months ago

@ofk/stylelint-config-recommend

This is an my stylelint config.

It uses Standard's as a base, has Prettier and SCSS baked in, and overrides some rules I've seen ourselves having to change often.

Quick start

  1. Install the following dev-dependencies:

    npm install --save-dev @ofk/stylelint-config-recommend stylelint prettier
  2. Extend the @ofk/stylelint-config-recommend config in your .stylelintrc (or stylelint key in your package.json):

    "stylelint": {
      "extends": "@ofk/stylelint-config-recommend"
    }
  3. Run eslint on your project as part of your lint and format scripts:

    "scripts": {
      "lint": "stylelint \"**/*.{css,scss}\"",
      "format": "npm run lint -- --fix",
      "pretest": "npm run lint",
      "test": "test command"
    }
7.1.0

2 months ago

7.0.0

5 months ago

6.0.0

10 months ago

5.0.0

1 year ago

4.2.0

1 year ago

4.1.0

2 years ago

4.0.0

2 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.0.0

4 years ago