Socket
Socket
Sign inDemoInstall

eslint-config-hubspot

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-hubspot

HubSpot ESLint configurations


Version published
Weekly downloads
31
decreased by-60.26%
Maintainers
3
Weekly downloads
 
Created
Source

eslint-config-hubspot

npm version

HubSpot's ESLint configurations

Install

// npm
$ npm install --save-dev eslint eslint-config-hubspot eslint-plugin-react

// yarn
$ yarn add eslint eslint-config-hubspot eslint-plugin-react --dev

For the esnext version or if you are using newer syntax, you'll also need Babel's ESLint parser:

//npm
$ npm install --save-dev babel-eslint

// yarn
$ yarn add babel-eslint --dev

This will let you use ES2016 features like async/await and decorators. For a full list of features see Babel's experimental features and their Learn ES2015.

Usage

Add ESLint configurations to your package.json:

{
  "eslintConfig": {
    "extends": "hubspot" // or "hubspot/esnext"
  }
}

Or .eslintrc*:

{
  "extends": "hubspot" // or "hubspot/esnext"
}

License

MIT © HubSpot

Keywords

FAQs

Package last updated on 16 Jan 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