Socket
Socket
Sign inDemoInstall

eslint-plugin-pabigot

Package Overview
Dependencies
88
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-plugin-pabigot

pabigot's ESLint customizations


Version published
Weekly downloads
26
decreased by-35%
Maintainers
1
Install size
29.3 kB
Created
Weekly downloads
 

Readme

Source

eslint-plugin-pabigot

NPM version Build Status Coverage Status

A holder for rules and other ESLint extensions that suit my needs.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-pabigot:

$ npm install eslint-plugin-pabigot --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-pabigot globally.

Usage

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

{
  "plugins": [
    "pabigot"
  ]
}

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

{
  "rules": {
    "pabigot/affixed-ids": ["error", {
      "base": "camelcase",
      "allowedSuffixes": ["_ms"]
    }]
  }
}

Supported Rules

  • affixed-ids - check identifier style conformance

Keywords

FAQs

Last updated on 10 Jul 2021

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