UNPKG

@dr.pogodin/eslint-configs

Version:

ESLint configurations for TypeScript and/or React projects

16 lines (14 loc) 358 B
/* global module */ // NOTE: For now we keep it CJS, as ES modules support in Babel config is still // expertimentary. // eslint-disable-next-line import/no-commonjs module.exports = { presets: [ ['@babel/env', { modules: 'cjs', targets: 'defaults', }], ['@babel/react', { runtime: 'automatic' }], '@babel/typescript', ], };