Skip to content

Latest commit

 

History

History
 
 

README.md

ESLint config generator (plugin TypeScript)

Installation

Install the plugin:

$ yarn add --dev @kocal/eslint-config-generator-plugin-typescript

Usage

In 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 
  }
});