npm.io
4.0.0 • Published 2 years ago

@kocal/eslint-config-generator-plugin-typescript

Licence
MIT
Version
4.0.0
Deps
3
Size
7 kB
Vulns
0
Weekly
0
Stars
3
DeprecatedThis package is deprecated

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