Skip to content

Commit

Permalink
docs: align tseslint name
Browse files Browse the repository at this point in the history
  • Loading branch information
waynzh committed Nov 30, 2024
1 parent dc06535 commit 1e6ca06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}'],
Expand All @@ -94,7 +94,7 @@ export default tseslint.config(
sourceType: 'module',
globals: globals.browser,
parserOptions: {
parser: typescriptEslint.parser,
parser: tseslint.parser,
},
},
rules: {
Expand Down

0 comments on commit 1e6ca06

Please sign in to comment.