Skip to content

gwinnem/vue-typescript-linting-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

NPM package

Donate

If you enjoyed this project — or just feeling generous, consider buying me a beer. Cheers! 🍻