mirror of
https://github.com/elyby/eslint-plugin.git
synced 2024-11-23 05:33:18 +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'],
|
|
],
|
|
});
|