My favourite linting rules for a VUE 3 Typescript project.
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,
}
}
If you enjoyed this project — or just feeling generous, consider buying me a beer. Cheers! 🍻