Skip to content

Commit

Permalink
docs(app-vite): remove outdated TS version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufkandemir committed Aug 6, 2024
1 parent 12e446c commit 914554d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
12 changes: 4 additions & 8 deletions docs/src/pages/quasar-cli-vite/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,15 @@ The linting for a TS project is based on vite-plugin-checker + ESLint + vue-tsc:

```tabs
<<| bash Yarn |>>
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript
```

::: warning
Notice the `typescript` dependency is <= 5.3. There is currently an issue with ESLint and newer TS (5.4+). This is only a temporary thing until upstream fixes it.
:::

Create a file called `tsconfig.vue-tsc.json` in the root of your project folder:

```json /tsconfig.vue-tsc.json
Expand Down
12 changes: 4 additions & 8 deletions docs/src/pages/quasar-cli-vite/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,15 @@ We dropped support for our internal linting (quasar.config file > eslint) in fav

```tabs
<<| bash Yarn |>>
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ yarn add --dev vite-plugin-checker vue-tsc@2 typescript
<<| bash NPM |>>
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ npm install --save-dev vite-plugin-checker vue-tsc@2 typescript
<<| bash PNPM |>>
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ pnpm add -D vite-plugin-checker vue-tsc@2 typescript
<<| bash Bun |>>
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript@^5.5.3
$ bun add --dev vite-plugin-checker vue-tsc@2 typescript
```

::: warning
Notice the `typescript` dependency is <= 5.3. There is currently an issue with ESLint and newer TS (5.4+). This is only a temporary thing until upstream fixes it.
:::

```bash [highlight=6,7] /.eslintignore
/dist
/src-capacitor
Expand Down

0 comments on commit 914554d

Please sign in to comment.