EsLint config for Vue.js and TypeScript
Usage
Install
$ npm i @ntnyq/eslint-config-typescript-vue -D
# OR
$ yarn add @ntnyq/eslint-config-typescript-vue -D
Extend this config
in .eslintrc.js
module.exports = {
root: true,
extends: ['@ntnyq/typescript-vue'],
rules: {
// Override rules
},
}
in package.json
{
"eslintConfig": {
"root": true,
"extends": "@ntnyq/typescript-vue"
}
}