0.0.1 • Published 1 year ago
eslint-config-crmis v0.0.1
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
- Base config - has basic rules that can be used in any JS application
- React config - has react specific rules
- 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']
};