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

@geekie/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geekie/eslint-plugin

ESLint rules used at Geekie

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint utilities used at Geekie

Installation

Install using:

$ yarn add --dev eslint eslint-plugin-geekie

Usage

Add geekie to your .eslintrc.json plugins:

{
  "plugins": [
    "geekie"
  ]
}

And add one of the configs to extends:

{
  "extends": [
    "plugin:@geekie/recommended"
  ]
}

Or add each rule individually:

{
  "rules": {
    "@geekie/no-general-eslint-disable": "error"
  }
}

Configs

The plugin exports two config:

  • rules: enables the rules included in the plugin
  • recommended: a sensible config for JS only, and enables the rules included in the plugin

Rules

The plugin exports two rules:

  • no-general-eslint-disable: disables usage of eslint-disable without specific rules, to prevent turning off linting completely in a line or in a file.
  • no-stringify-in-matcher: prevents usage of JSON.stringify in Jest matchers (it might work with others) because the serialization order is not reliable.

FAQs

Package last updated on 23 Jul 2018

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