4.0.0 • Published 2 years ago

@kocal/eslint-config-generator-plugin-typescript v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

ESLint config generator (plugin TypeScript)

npm.io

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