1.1.7 • Published 10 months ago

@jpapini/stylelint-config v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Stylelint configuration

Custom Stylelint configuration for Tailwind CSS projects.

How to use

  1. Install the package and its required peer dependencies:
pnpm add -D @jpapini/stylelint-config stylelint
  1. Edit your package.json file to include the following:
{
    "scripts": {
        "lint:stylelint": "stylelint --cache --cache-location node_modules/.cache/stylelint/.stylelintcache --allow-empty-input '**/*.css'",
        "format:stylelint": "stylelint --cache --cache-location node_modules/.cache/stylelint/.stylelintcache --allow-empty-input --fix '**/*.css'"
    },
    "stylelint": {
        "extends": "@jpapini/stylelint-config"
    }
}
  1. Add a .stylelintignore file with the following content:
### Jetbrains IDEs ###
.idea

### Visual Studio Code ###
.vscode

### Dependencies ###
node_modules
.pnpm-store

### Cache ###
.turbo

### Compiled outputs ###
dist
generated

### Tests ###
coverage

### Temporary ###
old

Author

1.1.7

10 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.3

11 months ago

1.1.2

1 year 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