@bigcommerce/eslint-plugin

1.3.1 • Public • Published

@bigcommerce/eslint-plugin

This plugin contains a few custom eslint rules we use at BigCommerce. It's enabled by default with @bigcommerce/eslint-config, if you are extending our config, there is no need to do the following install process.

Install

npm install --save-dev @bigcommerce/eslint-plugin

Usage

Add plugin:@bigcommerce/recommended to your project's ESLint configuration file. i.e.:

// .eslintrc.js
module.exports = {
  extends: ['plugin:@bigcommerce/recommended'],
};

Rules

@bigcommerce/jsx-short-circuit-conditionals:

Disallows usage of string / number while short-circuiting jsx

Readme

Keywords

none

Package Sidebar

Install

npm i @bigcommerce/eslint-plugin

Weekly Downloads

1,290

Version

1.3.1

License

MIT

Unpacked Size

5.33 kB

Total Files

5

Last publish

Collaborators

  • erik.christensen
  • leebigcommerce
  • toma-r
  • cilo
  • jorgemoya
  • bcnpmuser
  • icatalina
  • chris.boulton
  • bcandreik
  • davidchin
  • pascal.zajac
  • deini
  • chanceaclark
  • jairobc
  • jmwiese