0.0.1 • Published 1 year ago

eslint-config-crmis v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

crm-in-store-eslint-config

Crm In Store - Common ESLint configurations

How it works

This repo will publish a npm package to the PVH package registry when a new tag is created with a new version. Then other repositories can use this eslint-config-crmis package to extend their eslintrc.js (or the eslint config file).

Config files

There are 3 config files exposed by this repo

  1. Base config - has basic rules that can be used in any JS application
  2. React config - has react specific rules
  3. Lambda config - has lambda / nodejs specific rules

React and Lambda config are extending from the Base config.

Usage

Base

module.exports = {
  extends: ['eslint-config-crmis']
};

React

module.exports = {
  extends: ['eslint-config-crmis/react-config']
};

Lambda

module.exports = {
  extends: ['eslint-config-crmis/lambda-config']
};