jsx-autocorrect
A babel plugin that enables you to use class
, for
, and enable-background
as jsx attributes. Go nuts!
Example
...
Transpiled:
...
Install
npm install --save-dev jsx-autocorrect
with .babelrc:
with webpack
moduleexports = module: loaders: test: /\.jsx$/ loader: 'babel' query: plugins: 'jsx-autocorrect' ...
Feel free to suggest any additions!