Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@washingtonpost/eslint-plugin-wpds

Package Overview
Dependencies
Maintainers
232
Versions
95
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

  • 0.14.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2K
decreased by-8.68%
Maintainers
232
Weekly downloads
 
Created
Source

ESLint Plugin

Docs

WPDS Linting rules

  1. 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 12 Aug 2022

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc