@fluentui-contrib/stylelint-plugin
v0.2.0
Published
This stylelint plugin contains rules that are (first and foremost) applicable to Fluent UI. These rules can also be used with projects that do not use Fluent UI or [Griffel](https://griffel.js.org/), but support is not guaranteed.
Downloads
5
Readme
stylelint-plugin
This stylelint plugin contains rules that are (first and foremost) applicable to Fluent UI. These rules can also be used with projects that do not use Fluent UI or Griffel, but support is not guaranteed.
Install
yarn add @fluentui-contrib/stylelint-plugin
npm install @fluentui-contrib/stylelint-plugin
Configuration
// .stylelintrc.js
module.exports = {
plugins: ['@fluentui-contrib/stylelint-plugin'],
rules: {
'@fluentui-contrib/combinator-depth': [0],
},
defaultSeverity: 'error',
};