$ cnpm install @porch/babel-preset-porch
This is kept in sync with eslint-config-porch so that eslint enforces the same syntax that babel can compile.
.babelrc
{ "presets": ["porch"] }
Copyright 2014 - 2017 © taobao.org |