vue-typescript-linting-rules

1.0.0 • Public • Published

vue-typescript-linting-rules

My favourite linting rules for a VUE 3 Typescript project.

How to use the package

In your project, create an .eslintrc.js that includes at least the following configuration:

const { resolve } = require(`path`);
module.exports = {
  root: true,
  extends: [
    `vue-typescript-linting-rules`,
  ],
  parserOptions: {
    project: resolve(__dirname, './tsconfig.json'),
    tsconfigRootDir: __dirname,
  }
}

Package Sidebar

Install

npm i vue-typescript-linting-rules

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

12.3 kB

Total Files

4

Last publish

Collaborators

  • gwinnem