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

eslint-config-nhardy

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-nhardy

A collection of ESLint configs which extend airbnbs with some minor differences

  • 0.16.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by1900%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-nhardy

A collection of ESLint configs which extend eslint-config-airbnb-base and eslint-config-airbnb with some minor differences, and additions for TypeScript.

Usage

Plain ESNext

In your project folder config:

{
  "extends": "nhardy"
}

With React

{
  "extends": "nhardy/react"
}

With Mocha

In your test folder config:

{
  "extends": ["nhardy", "nhardy/withMocha"]
}

With TypeScript (experimental)

{
  "extends": "nhardy/typescript"
}

With TypeScript and React (experimental)

{
  "extends": "nhardy/typescript-react"
}

With TypeScript, React and Mocha (experimental)

In your test folder config:

{
  "extends": "nhardy/typescript-react-mocha"
}

With React and Flow (legacy)

Add to your project folder config:

{
  "extends": "nhardy/react-flow"
}

Keywords

FAQs

Package last updated on 06 Sep 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