mirror of
https://github.com/elyby/eslint-plugin.git
synced 2024-11-09 15:02:16 +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'],
|
|
],
|
|
});
|