New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@etchteam/eslint-plugin-patterns

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@etchteam/eslint-plugin-patterns

eslint rules for Patterns

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
3
Weekly downloads
 
Created
Source

eslint-plugin-patterns

Eslint rules specifically for Patterns to help encourage best practice usage.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @etchteam/eslint-plugin-patterns:

npm install @etchteam/eslint-plugin-patterns --save-dev

Usage

Add @etchteam/patterns to the plugins section of your .eslintrc configuration file:

{
    "plugins": [
        "'@etchteam/patterns'"
    ]
}

Then configure the rules you want to use under the rules section. Recommended config is below.

{
    "rules": {
        "@etchteam/patterns/dont-touch-src": "warn",
        "@etchteam/patterns/dont-add-classes-to-components": "warn"
    }
}

Supported Rules

  • @etchteam/patterns/dont-touch-src
  • @etchteam/patterns/dont-add-classes-to-components

Keywords

FAQs

Package last updated on 04 Nov 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