Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-nugit

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-nugit

Nugit's JS ESLint config, following our styleguide

  • 4.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
124
decreased by-26.63%
Maintainers
3
Weekly downloads
 
Created
Source

eslint-config-nugit

npm version

This package provides Nugit's JS .eslintrc as an extensible shared config.

Installation

npm i eslint-config-nugit --save-dev

NOTE: NPM 10 is required otherwise you'll need to manually install peerDependencies. Peer dependencies change won't be considered as breaking change anymore.

Usage

We export two ESLint configurations for your usage.

eslint-config-nugit

Our default export contains all of our ESLint rules, including ECMAScript 6+, FlowJS and React.

If you don't need React, see eslint-config-nugit/base.

  • Add "extends": "nugit" to your .eslintrc.

eslint-config-nugit/base

Our default export contains all of our ESLint rules, including ECMAScript 6+ and FlowJS.

  • Add "extends": "nugit/base" to your .eslintrc

eslint-config-nugit/script

Same as eslint-config-nugit/base but allow to use devDependencies & console.log.

  • Add "extends": "nugit/script" to your .eslintrc

Keywords

FAQs

Package last updated on 28 May 2024

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