Skip to content

Commit

Permalink
chore: enhance eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
openscript committed Jan 15, 2024
1 parent 612a10a commit fcaf436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ module.exports = {
parser: '@typescript-eslint/parser',
project: './tsconfig.json',
ecmaVersion: 'latest',
sourceType: 'module'
sourceType: 'module',
extraFileExtensions: ['.vue']
},
plugins: [
'vue'
],
rules: {
'vue/multi-word-component-names': 'off'
}
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"resolveJsonModule": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"jsx": "preserve"
"jsx": "preserve",
},
"include": [
".eslintrc.js",
Expand All @@ -21,4 +21,4 @@
"./**/*.js"
],
"exclude": ["**/dist/**", "node_modules"]
}
}

0 comments on commit fcaf436

Please sign in to comment.