@tada5hi/eslint-config-vue3-typescript

1.3.10 • Public • Published

@tada5hi/eslint-config-vue3-typescript 📚

This package provides ESLint rules for TypeScript, including Vue.js 3+ & ECMAScript 6+.

Table of Contents

Installation

npm install --save-dev @tada5hi/eslint-config-vue3-typescript

Usage

To use this package ESLint needs to be configured properly.

Basic

Add the following line to the ESLint config file:

extends: [
+ '@tada5hi/eslint-config-vue3-typescript'
]

Parser

In the ESLint configuration file, set the parserOptions.project to the location of the project tsconfig.json.

For example:

{
  extends: [
    '@tada5hi/eslint-config-vue3-typescript'
  ],
+ parserOptions: {
+   project: './tsconfig.json'
+ }
}

Run

Open a terminal to the root of your project, and run the following command:

eslint --ext .ts,.js,.vue

License

Made with 💚

Published under MIT License.

Package Sidebar

Install

npm i @tada5hi/eslint-config-vue3-typescript

Weekly Downloads

3

Version

1.3.10

License

MIT

Unpacked Size

12.5 kB

Total Files

5

Last publish

Collaborators

  • tada5hi