@mels/eslint-patch
v1.0.3
Published
Allow shared ESLint configs to bring along their own plugins.
Downloads
9
Readme
✨ Features
@mels/eslint-patch
uses @rushstack/eslint-patch under the hood to enable shared ESLint configs in this toolkit to bring along their own plugins as dependencies, rather than imposing them as peer dependencies.
Please see for more info: https://www.npmjs.com/package/@rushstack/eslint-patch
Install
With npm:
npm install @mels/eslint-patch --save-dev
With yarn:
yarn add @mels/eslint-patch --dev
How To Use
Add a require() call to the to top of the .eslintrc.js
file in the project that depends on the shared toolkit ESLint config.
// .eslintrc.js
require('@mels/eslint-patch');
module.exports = {
extends: ['@mels'],
// ... etc
};
Credits
- @rushstack/eslint-patch
- Toolkit logo by Creatype from www.flaticon.com
License
MIT