TypeScript definitions for stylelint-define-config.
Caution
stylelint-codeguide
has been merged into stylelint-stylistic
, so this package is deprecated.
npm i -D @stylelint-types/stylelint-codeguide
# or
pnpm add -D @stylelint-types/stylelint-codeguide
# or
yarn add -D @stylelint-types/stylelint-codeguide
// @ts-check
const defineConfig = require('stylelint-define-config')
/// <reference types="@stylelint-types/stylelint-codeguide" />
module.exports = defineConfig({
rules: {
// ...rules
}
})