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

@bigcommerce/eslint-config

Package Overview
Dependencies
Maintainers
14
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigcommerce/eslint-config

Default ESLint configuration used at BigCommerce

  • 2.8.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.4K
decreased by-1.79%
Maintainers
14
Weekly downloads
 
Created
Source

@bigcommerce/eslint-config

This package is a configuration preset for ESLint.

Install

npm install --save-dev eslint prettier
npm install --save-dev @bigcommerce/eslint-config

Usage

Add @bigcommerce/eslint-config to your project's ESLint configuration file. i.e.:

// .eslintrc.js
require('@bigcommerce/eslint-config/patch');

module.exports = {
  extends: ['@bigcommerce/eslint-config'],
};

This config also runs prettier via eslint, add the following to your package.json

{
  "prettier": "@bigcommerce/eslint-config/prettier"
}

Stylistic rules are considered warnings for better developer experience, however, we recommend running CI with:

eslint --max-warnings 0

Usage with Next.js

Make sure to also extend from next's core-web-vitals.

// .eslintrc.js
require('@bigcommerce/eslint-config/patch');

module.exports = {
  extends: ['@bigcommerce/eslint-config', 'next/core-web-vitals'],
};

Release

Please refer to the documentation of lerna for release options.

License

MIT

FAQs

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