1.0.0 • Published 1 year ago

vue-typescript-linting-rules v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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,
  }
}