Socket
Book a DemoInstallSign in
Socket

@washingtonpost/eslint-plugin-wpds

Package Overview
Dependencies
Maintainers
231
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@washingtonpost/eslint-plugin-wpds

WPDS lint rules

2.12.0
latest
Source
npmnpm
Version published
Maintainers
231
Created
Source

ESLint Plugin

Docs

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.rc
    module.exports = {
      ...
      plugins: [
        "@washingtonpost/wpds",
      ],
      ...
      rules: [
        "@washingtonpost/wpds/theme-colors": "warn",
      ]
    }
    

FAQs

Package last updated on 02 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.