Install the plugin:
$ yarn add --dev @kocal/eslint-config-generator-plugin-typescriptIn your .eslintrc.js:
// enable TypeScript support
generateConfig({
typescript: true
});
// enable and configure TypeScript support
generateConfig({
typescript: {
vueComponents: true, // allow to lint .vue files, enabled by default if Vue support is enabled
}
});