From 1e6ca069daeb4f78cfb60e29c47da9744e10d0cb Mon Sep 17 00:00:00 2001 From: waynzh Date: Sat, 30 Nov 2024 22:11:18 +0800 Subject: [PATCH] docs: align tseslint name --- docs/user-guide/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user-guide/index.md b/docs/user-guide/index.md index 4cf65c928..49e41d4c2 100644 --- a/docs/user-guide/index.md +++ b/docs/user-guide/index.md @@ -78,14 +78,14 @@ import eslint from '@eslint/js'; import eslintConfigPrettier from 'eslint-config-prettier'; import eslintPluginVue from 'eslint-plugin-vue'; import globals from 'globals'; -import typescriptEslint from 'typescript-eslint'; +import tseslint from 'typescript-eslint'; export default tseslint.config( { ignores: ['*.d.ts', '**/coverage', '**/dist'] }, { extends: [ eslint.configs.recommended, - ...typescriptEslint.configs.recommended, + ...tseslint.configs.recommended, ...eslintPluginVue.configs['flat/recommended'], ], files: ['**/*.{ts,vue}'], @@ -94,7 +94,7 @@ export default tseslint.config( sourceType: 'module', globals: globals.browser, parserOptions: { - parser: typescriptEslint.parser, + parser: tseslint.parser, }, }, rules: {