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

@roadmunk/eslint-plugin-roadmunk-custom

Package Overview
Dependencies
Maintainers
9
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@roadmunk/eslint-plugin-roadmunk-custom

Plugin to hold custom ESLint rules for Roadmunk

  • 1.8.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
decreased by-58.33%
Maintainers
9
Weekly downloads
 
Created
Source

eslint-plugin-roadmunk-custom

Plugin to hold custom ESLint rules for Roadmunk

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-roadmunk-custom:

$ npm install eslint-plugin-roadmunk-custom --save-dev

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

Usage

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

{
    "plugins": [
        "roadmunk-custom"
    ]
}

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

{
    "rules": {
        "roadmunk-custom/rule-name": 2
    }
}

Supported Rules

align-assign : Ensure that assignment statements are aligned

assert-length : Uses the correct assertion method to check for length of an array

log-message-length : Enforces a specified max length on log messages

no-lodash-deprecated-functions : Prevents usage of deprecated lodash functions.

no-lodash-isnull : Prevents usage of _.isNull method.

no-lodash-isundefined : Prevents usage of _.isUndefined method

no-log-info : Prevents the use of log.info. Our coding standards recommend usage of log.user & log.sys over the deprecated log.info

no-require-views : Warns about requiring packages from the views/ folder.

order-import : Ensures that import statements in a file are in the correct order.

order-require : Ensures that require statements in a file are in the correct order.

Keywords

FAQs

Package last updated on 05 Nov 2020

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