eslint-wrapper-plugin

1.0.0 • Public • Published

ESLint Wrapper Plugin 📦

Wrap your ESLint config and its peer dependency plugins with ease.

npm version Build Status Coverage Status dependencies Status


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: [/* your config's peer dependency plugins, eg: 'import' */],
  prefix: 'YOURPLUGIN',
});

Learn by example

Package Sidebar

Install

npm i eslint-wrapper-plugin

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • moeriki