Skip to content

natterstefan/stylelint-config-ns

Repository files navigation

stylelint-config-ns

npm version GitHub license Node CI

Stylelint config with pre-configured Sass (.scss), Tailwind, CSS-in-JS (.ts and .tsx), PostCSS and Prettier support.

Installation

Install the package with

npm install stylelint-config-ns --save-dev
# or
yarn add stylelint-config-ns -D

Usage

Add the following to your styelint.config.js config:

/**
 * @type {import('stylelint').Config}
 */
module.exports = {
  extends: 'stylelint-config-ns',
}

Extended Configs

The following configurations are used and preconfigured:

Development

How to publish

# prepare the CHANGELOG (new release headline)
git add CHANGELOG && git commit -m "chore: prepare release"

# push changes
git push

# publish the release
yarn publish

License

MIT