mirror of
https://github.com/elyby/eslint-plugin.git
synced 2024-12-22 21:19:48 +05:30
11 lines
230 B
JavaScript
11 lines
230 B
JavaScript
|
module.exports = (api) => ({
|
||
|
presets: [
|
||
|
['@babel/preset-env', {
|
||
|
targets: {
|
||
|
node: api.env('test') ? 'current' : 8,
|
||
|
},
|
||
|
}],
|
||
|
['@babel/preset-typescript'],
|
||
|
],
|
||
|
});
|