eslint-plugin/babel.config.js

11 lines
230 B
JavaScript
Raw Normal View History

2019-05-24 21:08:25 +05:30
module.exports = (api) => ({
presets: [
['@babel/preset-env', {
targets: {
node: api.env('test') ? 'current' : 8,
},
}],
['@babel/preset-typescript'],
],
});