Socket
Socket
Sign inDemoInstall

@washingtonpost/eslint-plugin-wpds

Package Overview
Dependencies
88
Maintainers
234
Versions
82
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @washingtonpost/eslint-plugin-wpds

WPDS lint rules


Version published
Weekly downloads
1.9K
decreased by-4.49%
Maintainers
234
Created
Weekly downloads
ย 

Changelog

Source

2.0.0 (2024-04-24)

Features

Readme

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

Last updated on 24 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc