babelplugin-to-eslintrule

1.1.0 • Public • Published

babelplugin-to-eslintrule

Map babel plugins to corresponding eslint ecmaFeatures

Travis Build Status NPM module NPM downloads

Installation

npm install --save babelplugin-to-eslintrule

Usage

  const eslintFeature = require('babelplugin-to-eslintrule');
  console.log(eslintFeature('es2015-parameters'));

['defaultParams']

return an array containing eslint's ecmaFeatures corresponding to the es2015 feature provided by the babel plugin.

Return an empty array if no corresponding ecmaFeature exists.

License

The MIT License (MIT)

Copyright (c) 2015 parro-it

Package Sidebar

Install

npm i babelplugin-to-eslintrule

Weekly Downloads

6

Version

1.1.0

License

MIT

Last publish

Collaborators

  • parroit