@washingtonpost/eslint-plugin-wpds
v2.13.3
Published
WPDS lint rules
Downloads
381
Maintainers
Keywords
Readme
ESLint Plugin
WPDS Linting rules
- theme-colors - looks for colors properties in style objects that use hex values and suggests a design token replacement.
Installation
- Install from npm
npm i @washingtonpost/eslint-plugin-wpds/ --dev - Add plugin and set level of rules in
eslint.rcmodule.exports = { ... plugins: [ "@washingtonpost/wpds", ], ... rules: [ "@washingtonpost/wpds/theme-colors": "warn", ] }
