Socket
Socket
Sign inDemoInstall

eslint-plugin-story-prefix

Package Overview
Dependencies
89
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-story-prefix

A ESLint rule to check if it has _STORY suffix


Version published
Weekly downloads
3
Maintainers
1
Install size
9.45 kB
Created
Weekly downloads
 

Readme

Source

eslint-plugin-story-prefix

A ESLint rule to check if it has _STORY suffix

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-story-prefix:

npm install eslint-plugin-story-prefix --save-dev

Usage

Add story-prefix to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "story-prefix"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "story-prefix/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

Keywords

FAQs

Last updated on 28 Jan 2023

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