Skip to content

stylelint-types/stylelint-scales

Repository files navigation

@stylelint-types/stylelint-scales

TypeScript definitions for stylelint-define-config.

Install

npm i -D @stylelint-types/stylelint-scales
# or
pnpm add -D @stylelint-types/stylelint-scales
# or
yarn add -D @stylelint-types/stylelint-scales

Usage

// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-scales">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})

Credits

LICENSE

MIT