eslint-wrapper-plugin
1.0.0 • Public • Published
ESLint Wrapper Plugin 📦
Wrap your ESLint config and its peer dependency plugins with ease.
Install
npm install --save eslint-wrapper-plugin
Usage
Replace YOURPLUGIN
and YOURCONFIG
accordingly.
package.json
{
"name": "eslint-plugin-YOURPLUGIN",
"version": "v1",
"dependencies": {
"eslint-wrapper-plugin": "*"
}
}
index.js
const wrap = require('eslint-wrapper-plugin');
module.exports = wrap({
configs: {
recommended: 'eslint-config-YOURCONFIG',
},
plugins: [],
prefix: 'YOURPLUGIN',
});
Learn by example
/eslint-wrapper-plugin/
//
Package Sidebar
Install
npm i eslint-wrapper-plugin
Weekly Downloads