babelplugin-to-eslintrule
v1.1.0
Published
Map babel plugins to corresponding eslint ecmaFeatures
Downloads
9
Maintainers
Readme
babelplugin-to-eslintrule
Map babel plugins to corresponding eslint ecmaFeatures
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