1.2.4 • Published 9 days ago

@gcoguiec/stylelint-config v1.2.4

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
9 days ago

Table of Contents

Getting Started

Install

pnpm add -D stylelint stylelint-order stylelint-scss @gcoguiec/stylelint-config

Configure

Add a stylelint.config.cjs file at the project root with the following configuration:

// stylelint.config.cjs
module.exports = {
  root: true,
  extends: ['@gcoguiec/stylelint-config']
};

(Optional) Add scripts to your package.json file

{
  "scripts": {
    "lint:scss": "stylelint \"**/*.scss\"",
    "lint:scss:fix": "pnpm lint:scss --fix"
  }
}

Note: you can replace pnpm by your favorite package manager instead.

(Optional) Add the tasks to your justfile

lint-scss *args:
  pnpm stylelint "**/*.scss" {{args}}

lint-scss-fix:
  @just lint-scss --fix

License

This project is licensed under BSD 2-Clause.

1.2.4

9 days ago

1.2.2

2 months ago

1.2.0

7 months ago

1.2.1

6 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago