Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
Enable Vue in ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Jun 14, 2024
1 parent 1cee4be commit c60f790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{
"parser": "@typescript-eslint/parser",
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"sourceType": "module",
"ecmaVersion": 2021,
"project": "tsconfig.json"
"project": "tsconfig.json",
"extraFileExtensions": [".vue"]
},
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:vue/vue3-recommended",
"plugin:functional/external-typescript-recommended",
"plugin:ava/recommended",
"plugin:prettier/recommended"
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lint:
npx astro sync
npx astro check
npx prettier --check source
npx eslint . --ext ".ts"
npx eslint . --ext ".ts,.vue"
npx jscpd source

@compile:
Expand Down

0 comments on commit c60f790

Please sign in to comment.