Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-20 committed Feb 18, 2024
1 parent eb01efc commit dac679c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
20 changes: 1 addition & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ module.exports = {
root: true,
parserOptions: {
parser: '@typescript-eslint/parser',
extraFileExtensions: ['.vue'],
},
extends: [
'eslint:recommended',
'./eslint-vue-ts-recommended.js',
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
'prettier',
Expand All @@ -16,24 +16,6 @@ module.exports = {
'no-empty': ['error', { allowEmptyCatch: true }],
eqeqeq: 'error',
'vue/eqeqeq': 'error',
'no-restricted-imports': [
'error',
{
name: '@/lib/apis/generated',
message: 'Please use @/lib/apis instead.',
},
],
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none',
},
singleline: {
delimiter: 'semi',
},
},
],
'@typescript-eslint/consistent-type-imports': 'error',
'vue/require-default-prop': 'off',
'vue/block-lang': [
Expand Down
19 changes: 0 additions & 19 deletions eslint-vue-ts-recommended.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/types/volar-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/consistent-type-imports */
/* eslint-disable @typescript-eslint/no-empty-interface */

/**
* volar global components
Expand Down

0 comments on commit dac679c

Please sign in to comment.