-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Several built-in Nuxt globals are not defined in ESLint config, causing linter to error in JS files #461
Comments
@adamreisnz Why would you add your own |
Why does that matter for this problem?
I don't know what base settings Nuxt uses, and I want to make sure that the
base Vue settings that I need are included.
This shouldn't affect global as they don't get overwritten.
…On Sat, 29 Jun 2024, 13:03 Anthony Fu, ***@***.***> wrote:
@adamreisnz <https://github.com/adamreisnz> Why would you add your own
@eslint/js and eslint-plugin-vue configs to override Nuxt's configs?
https://github.com/adamreisnz/nuxt-eslint-reproduction/blob/a32edf5fd06da40dc9cc3b0f8b7fc3b050578cbc/eslint.config.mjs#L6-L7
—
Reply to this email directly, view it on GitHub
<#461 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADXYQXZTLQQISOX3APSW2DZJYBXJAVCNFSM6AAAAABKCSJCCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHAYDOMRXG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Use the config inspector to see what is being loaded. Or check the source-code. |
I have removed the extra configuration from the Methods calls like The error goes away in the |
Is there any new about a potential fix for this? |
I added globals to my eslint config, but yeah I think it should auto detect all nitro imports by default, not sure why it doesn't
|
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@iconify-json/heroicons](https://icon-sets.iconify.design/heroicons/) | [`1.1.22` -> `1.1.23`](https://renovatebot.com/diffs/npm/@iconify-json%2fheroicons/1.1.22/1.1.23) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@iconify-json%2fheroicons/1.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@iconify-json%2fheroicons/1.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@iconify-json%2fheroicons/1.1.22/1.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@iconify-json%2fheroicons/1.1.22/1.1.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@iconify-json/simple-icons](https://icon-sets.iconify.design/simple-icons/) | [`1.1.109` -> `1.1.111`](https://renovatebot.com/diffs/npm/@iconify-json%2fsimple-icons/1.1.109/1.1.111) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@iconify-json%2fsimple-icons/1.1.111?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@iconify-json%2fsimple-icons/1.1.111?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@iconify-json%2fsimple-icons/1.1.109/1.1.111?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@iconify-json%2fsimple-icons/1.1.109/1.1.111?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@nuxt/eslint](https://github.com/nuxt/eslint) ([source](https://github.com/nuxt/eslint/tree/HEAD/packages/module)) | [`0.3.13` -> `0.4.0`](https://renovatebot.com/diffs/npm/@nuxt%2feslint/0.3.13/0.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nuxt%2feslint/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nuxt%2feslint/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nuxt%2feslint/0.3.13/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nuxt%2feslint/0.3.13/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@nuxt/eslint-config](https://github.com/nuxt/eslint) ([source](https://github.com/nuxt/eslint/tree/HEAD/packages/eslint-config)) | [`0.3.13` -> `0.4.0`](https://renovatebot.com/diffs/npm/@nuxt%2feslint-config/0.3.13/0.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nuxt%2feslint-config/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nuxt%2feslint-config/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nuxt%2feslint-config/0.3.13/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nuxt%2feslint-config/0.3.13/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@nuxt/test-utils](https://github.com/nuxt/test-utils) | [`3.13.1` -> `3.14.0`](https://renovatebot.com/diffs/npm/@nuxt%2ftest-utils/3.13.1/3.14.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nuxt%2ftest-utils/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nuxt%2ftest-utils/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nuxt%2ftest-utils/3.13.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nuxt%2ftest-utils/3.13.1/3.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | @​nuxt/ui-pro | [`1.3.1` -> `1.4.0`](https://renovatebot.com/diffs/npm/@nuxt%2fui-pro/1.3.1/1.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nuxt%2fui-pro/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nuxt%2fui-pro/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nuxt%2fui-pro/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nuxt%2fui-pro/1.3.1/1.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@pinia/nuxt](https://github.com/vuejs/pinia/tree/v2/packages/nuxt#readme) ([source](https://github.com/vuejs/pinia)) | [`0.5.1` -> `0.5.2`](https://renovatebot.com/diffs/npm/@pinia%2fnuxt/0.5.1/0.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@pinia%2fnuxt/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@pinia%2fnuxt/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@pinia%2fnuxt/0.5.1/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@pinia%2fnuxt/0.5.1/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#readme) ([source](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue)) | [`5.1.0` -> `5.1.2`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-vue/5.1.0/5.1.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-vue/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-vue/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-vue/5.1.0/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-vue/5.1.0/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/main/packages/coverage-v8#readme) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8)) | [`2.0.4` -> `2.0.5`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-v8/2.0.4/2.0.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitest%2fcoverage-v8/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitest%2fcoverage-v8/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitest%2fcoverage-v8/2.0.4/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitest%2fcoverage-v8/2.0.4/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [chromatic](https://www.chromatic.com) ([source](https://github.com/chromaui/chromatic-cli)) | [`11.5.6` -> `11.7.0`](https://renovatebot.com/diffs/npm/chromatic/11.5.6/11.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/11.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/11.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/11.5.6/11.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/11.5.6/11.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`9.7.0` -> `9.8.0`](https://renovatebot.com/diffs/npm/eslint/9.7.0/9.8.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/9.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/9.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/9.7.0/9.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/9.7.0/9.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://github.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.3.4` -> `5.3.5`](https://renovatebot.com/diffs/npm/vite/5.3.4/5.3.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.3.4/5.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.3.4/5.3.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://github.com/vitest-dev/vitest) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`2.0.4` -> `2.0.5`](https://renovatebot.com/diffs/npm/vitest/2.0.4/2.0.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/2.0.4/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/2.0.4/2.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue](https://github.com/vuejs/core/tree/main/packages/vue#readme) ([source](https://github.com/vuejs/core)) | [`3.4.33` -> `3.4.35`](https://renovatebot.com/diffs/npm/vue/3.4.33/3.4.35) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue/3.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue/3.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue/3.4.33/3.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue/3.4.33/3.4.35?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-router](https://github.com/vuejs/router) | [`4.4.0` -> `4.4.2`](https://renovatebot.com/diffs/npm/vue-router/4.4.0/4.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-router/4.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-router/4.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-router/4.4.0/4.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-router/4.4.0/4.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://github.com/vuejs/language-tools) ([source](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.28` -> `2.0.29`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.28/2.0.29) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.28/2.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.28/2.0.29?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nuxt/eslint (@​nuxt/eslint)</summary> ### [`v0.4.0`](https://github.com/nuxt/eslint/releases/tag/v0.4.0) [Compare Source](https://github.com/nuxt/eslint/compare/v0.3.13...v0.4.0) ##### 🚀 Features - Upgrade `@types/eslint` - by [@​antfu](https://github.com/antfu) [<samp>(ebc8f)</samp>](https://github.com/nuxt/eslint/commit/ebc8f2c) - Enable `features.typescript` only when `typescript` is installed locally, fix [#​437](https://github.com/nuxt/eslint/issues/437) - by [@​antfu](https://github.com/antfu) in [https://github.com/nuxt/eslint/issues/437](https://github.com/nuxt/eslint/issues/437) [<samp>(77bc7)</samp>](https://github.com/nuxt/eslint/commit/77bc797) - Include nitro unimport to `globals` as well, close [#​461](https://github.com/nuxt/eslint/issues/461) - by [@​antfu](https://github.com/antfu) in [https://github.com/nuxt/eslint/issues/461](https://github.com/nuxt/eslint/issues/461) [<samp>(533fa)</samp>](https://github.com/nuxt/eslint/commit/533fa40) - Add `public` folder to default ignore, close [#​453](https://github.com/nuxt/eslint/issues/453) - by [@​antfu](https://github.com/antfu) in [https://github.com/nuxt/eslint/issues/453](https://github.com/nuxt/eslint/issues/453) [<samp>(b0e3e)</samp>](https://github.com/nuxt/eslint/commit/b0e3e72) - Add server components to single root list, fix [#​457](https://github.com/nuxt/eslint/issues/457) - by [@​antfu](https://github.com/antfu) and **kingyue737** in [https://github.com/nuxt/eslint/issues/457](https://github.com/nuxt/eslint/issues/457) [<samp>(6e232)</samp>](https://github.com/nuxt/eslint/commit/6e232f0) ##### [View changes on GitHub](https://github.com/nuxt/eslint/compare/v0.3.13...v0.4.0) </details> <details> <summary>nuxt/test-utils (@​nuxt/test-utils)</summary> ### [`v3.14.0`](https://github.com/nuxt/test-utils/blob/HEAD/CHANGELOG.md#v3140) [Compare Source](https://github.com/nuxt/test-utils/compare/v3.13.1...v3.14.0) [compare changes](https://github.com/nuxt/test-utils/compare/v3.13.1...v3.14.0) ##### 🚀 Enhancements - **runtime-utils:** Expose setup result from `renderSuspended` ([#​852](https://github.com/nuxt/test-utils/pull/852)) - **e2e:** Allow overwriting env variables in `setup` ([#​903](https://github.com/nuxt/test-utils/pull/903)) - **e2e:** Allow running e2e tests against existing server ([#​803](https://github.com/nuxt/test-utils/pull/803)) - **e2e:** Allow updating env in context before `setup` runs ([#​812](https://github.com/nuxt/test-utils/pull/812)) ##### 🩹 Fixes - **runtime-utils:** Ts-ignore `#build/` import until nuxt v3.12 release ([66b23ae6](https://github.com/nuxt/test-utils/commit/66b23ae6)) - **runtime-utils:** Allow `setProps` to replace an array ([#​877](https://github.com/nuxt/test-utils/pull/877)) ##### 🏡 Chore - Ignore ts-ignores for now ([ac2d9fbb](https://github.com/nuxt/test-utils/commit/ac2d9fbb)) - Add [@​danielroe](https://github.com/danielroe) to code owners ([76f65b3b](https://github.com/nuxt/test-utils/commit/76f65b3b)) - Remove ts-ignore now that we're upgraded ([16827f7f](https://github.com/nuxt/test-utils/commit/16827f7f)) ##### ✅ Tests - Bump timeout in windows browser spec ([73e2c716](https://github.com/nuxt/test-utils/commit/73e2c716)) ##### ❤️ Contributors - Jessé Correia Lins ([@​linspw](http://github.com/linspw)) - Tobias Diez <code@tobiasdiez.com> - Mark Brockhoff ([@​markbrockhoff](http://github.com/markbrockhoff)) - Daniel Roe ([@​danielroe](http://github.com/danielroe)) - MaruyamaTomoki ([@​tomoki1207](http://github.com/tomoki1207)) - Joao Vitor Alves <joaovitor_as08802@​hotmail.com> </details> <details> <summary>vuejs/pinia (@​pinia/nuxt)</summary> ### [`v0.5.2`](https://github.com/vuejs/pinia/releases/tag/v0.5.2) [Compare Source](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.5.1...@pinia/nuxt@0.5.2) Please refer to [CHANGELOG.md](https://github.com/posva/pinia/blob/v1/CHANGELOG.md) for details. </details> <details> <summary>vitejs/vite-plugin-vue (@​vitejs/plugin-vue)</summary> ### [`v5.1.2`](https://github.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small512-2024-08-01-small) - refactor(plugin-vue): add `type` field ([a6b7e3f](https://github.com/vitejs/vite-plugin-vue/commit/a6b7e3f)) - fix(plugin-vue): add deprecated `script.propsDestructure` option ([1e24322](https://github.com/vitejs/vite-plugin-vue/commit/1e24322)), closes [#​431](https://github.com/vitejs/vite-plugin-vue/issues/431) - chore(deps): update upstream ([#​432](https://github.com/vitejs/vite-plugin-vue/issues/432)) ([5d592cd](https://github.com/vitejs/vite-plugin-vue/commit/5d592cd)), closes [#​432](https://github.com/vitejs/vite-plugin-vue/issues/432) ### [`v5.1.1`](https://github.com/vitejs/vite-plugin-vue/blob/HEAD/packages/plugin-vue/CHANGELOG.md#small511-2024-07-27-small) - fix(plugin-vue): clear script cache if recall ([f5eb5ac](https://github.com/vitejs/vite-plugin-vue/commit/f5eb5ac)), closes [#​431](https://github.com/vitejs/vite-plugin-vue/issues/431) </details> <details> <summary>vitest-dev/vitest (@​vitest/coverage-v8)</summary> ### [`v2.0.5`](https://github.com/vitest-dev/vitest/releases/tag/v2.0.5) [Compare Source](https://github.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5) ##### 🚀 Features - Introduce experimental reported tasks - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6149](https://github.com/vitest-dev/vitest/issues/6149) [<samp>(13d85)</samp>](https://github.com/vitest-dev/vitest/commit/13d85bd1) - This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go! ##### 🐞 Bug Fixes - Show a difference between string characters if both values are strings - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6191](https://github.com/vitest-dev/vitest/issues/6191) [<samp>(29176)</samp>](https://github.com/vitest-dev/vitest/commit/291766d7) - `testNamePattern` adds leading space - by [@​AriPerkkio](https://github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/6186](https://github.com/vitest-dev/vitest/issues/6186) [<samp>(073a5)</samp>](https://github.com/vitest-dev/vitest/commit/073a50c9) - **browser**: - Don't bundle `afterEach` cleanup hooks in node entrypoint - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6192](https://github.com/vitest-dev/vitest/issues/6192) [<samp>(e6fbc)</samp>](https://github.com/vitest-dev/vitest/commit/e6fbc620) - UserEvent.setup initiates a separate state for userEvent instance - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6088](https://github.com/vitest-dev/vitest/issues/6088) [<samp>(883f3)</samp>](https://github.com/vitest-dev/vitest/commit/883f3482) - Correctly import optimized module in vi.importActual - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6219](https://github.com/vitest-dev/vitest/issues/6219) [<samp>(804ff)</samp>](https://github.com/vitest-dev/vitest/commit/804ff2fd) - Passing options to hover/unhover - by [@​MNeverOff](https://github.com/MNeverOff) in [https://github.com/vitest-dev/vitest/issues/6175](https://github.com/vitest-dev/vitest/issues/6175) [<samp>(d4c00)</samp>](https://github.com/vitest-dev/vitest/commit/d4c005bc) - Improve unique CSS selector generation - by [@​zacharyvoase](https://github.com/zacharyvoase) and **Zack Voase** in [https://github.com/vitest-dev/vitest/issues/6243](https://github.com/vitest-dev/vitest/issues/6243) [<samp>(e7acd)</samp>](https://github.com/vitest-dev/vitest/commit/e7acd0cf) - **vitest**: - Remove nuxt from auto inline deps - by [@​sheremet-va](https://github.com/sheremet-va) [<samp>(93882)</samp>](https://github.com/vitest-dev/vitest/commit/93882f38) - Improve `defineProject` and `defineWorkspace` types - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6198](https://github.com/vitest-dev/vitest/issues/6198) [<samp>(8cd82)</samp>](https://github.com/vitest-dev/vitest/commit/8cd8272b) - Correctly resolve mocked `node:*` imports in `__mocks__` folder - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6204](https://github.com/vitest-dev/vitest/issues/6204) [<samp>(a48be)</samp>](https://github.com/vitest-dev/vitest/commit/a48be6ff) - **web-worker**: - Expose globals on self - by [@​sheremet-va](https://github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/6170](https://github.com/vitest-dev/vitest/issues/6170) [<samp>(12bb5)</samp>](https://github.com/vitest-dev/vitest/commit/12bb567e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5) </details> <details> <summary>chromaui/chromatic-cli (chromatic)</summary> ### [`v11.7.0`](https://github.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1170-Wed-Jul-31-2024) [Compare Source](https://github.com/chromaui/chromatic-cli/compare/v11.6.0...v11.7.0) ##### 🚀 Enhancement - test setting outOfSync to false [#​1018](https://github.com/chromaui/chromatic-cli/pull/1018) ([@​ethriel3695](https://github.com/ethriel3695)) ##### Authors: 1 - Reuben Ellis ([@​ethriel3695](https://github.com/ethriel3695)) *** ### [`v11.6.0`](https://github.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v1160-Wed-Jul-31-2024) [Compare Source](https://github.com/chromaui/chromatic-cli/compare/v11.5.6...v11.6.0) ##### 🚀 Enhancement - Added logic to account for parentheses at the beginning [#​1016](https://github.com/chromaui/chromatic-cli/pull/1016) ([@​ethriel3695](https://github.com/ethriel3695)) ##### Authors: 1 - Reuben Ellis ([@​ethriel3695](https://github.com/ethriel3695)) *** </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v9.8.0`](https://github.com/eslint/eslint/compare/v9.7.0...63881dc11299aba1d0960747c199a4cf48d6b9c8) [Compare Source](https://github.com/eslint/eslint/compare/v9.7.0...v9.8.0) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.3.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small535-2024-07-25-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.3.4...v5.3.5) - refactor(asset): remove rollup 3 public file watch workaround ([#​16331](https://github.com/vitejs/vite/issues/16331)) ([66bdb1d](https://github.com/vitejs/vite/commit/66bdb1d7b41e46b5361606ff3811bdad6f625bcc)), closes [#​16331](https://github.com/vitejs/vite/issues/16331) - fix: make `server` type less restrictive (fix [#​17627](https://github.com/vitejs/vite/issues/17627)) ([#​17628](https://github.com/vitejs/vite/issues/17628)) ([b55c32f](https://github.com/vitejs/vite/commit/b55c32f7e36ee7cc3754a5d667785d066dece10a)), closes [#​17627](https://github.com/vitejs/vite/issues/17627) [#​17628](https://github.com/vitejs/vite/issues/17628) - fix: show error if vite client cannot be loaded ([#​17419](https://github.com/vitejs/vite/issues/17419)) ([db5ab1d](https://github.com/vitejs/vite/commit/db5ab1dfc4fb55c6387136ee31fed35910a046b0)), closes [#​17419](https://github.com/vitejs/vite/issues/17419) - fix(build): env output is not stable ([#​17748](https://github.com/vitejs/vite/issues/17748)) ([b240a83](https://github.com/vitejs/vite/commit/b240a8347e7b62bee9d2212625732bb0d8c78633)), closes [#​17748](https://github.com/vitejs/vite/issues/17748) - fix(client): fix vite error path ([#​17744](https://github.com/vitejs/vite/issues/17744)) ([3c1bde3](https://github.com/vitejs/vite/commit/3c1bde340693e1de89ed2853225a5c1b6812accc)), closes [#​17744](https://github.com/vitejs/vite/issues/17744) - fix(css): resolve url aliases with fragments (fix: [#​17690](https://github.com/vitejs/vite/issues/17690)) ([#​17691](https://github.com/vitejs/vite/issues/17691)) ([d906d3f](https://github.com/vitejs/vite/commit/d906d3f8e1199fb9fc09f4c3397a91b274bb65c8)) - fix(deps): update all non-major dependencies ([#​17629](https://github.com/vitejs/vite/issues/17629)) ([93281b0](https://github.com/vitejs/vite/commit/93281b0e09ff8b00e21c24b80ed796db89cbc1ef)), closes [#​17629](https://github.com/vitejs/vite/issues/17629) - fix(importMetaGlob): handle alias that starts with hash ([#​17743](https://github.com/vitejs/vite/issues/17743)) ([b58b423](https://github.com/vitejs/vite/commit/b58b423ba85a7cede97d00a0160a188770928ae4)), closes [#​17743](https://github.com/vitejs/vite/issues/17743) - fix(ssrTransform): sourcemaps with multiple sources ([#​17677](https://github.com/vitejs/vite/issues/17677)) ([f321fa8](https://github.com/vitejs/vite/commit/f321fa8de2c8cf4f1758365abad4e7b352363a2f)), closes [#​17677](https://github.com/vitejs/vite/issues/17677) - chore: extend commit hash ([#​17709](https://github.com/vitejs/vite/issues/17709)) ([4fc9b64](https://github.com/vitejs/vite/commit/4fc9b6424c27aca8004c368b69991a56264e4fdb)), closes [#​17709](https://github.com/vitejs/vite/issues/17709) - chore(deps): update all non-major dependencies ([#​17734](https://github.com/vitejs/vite/issues/17734)) ([9983731](https://github.com/vitejs/vite/commit/998373120c8306326469d4f342690c17774acdf9)), closes [#​17734](https://github.com/vitejs/vite/issues/17734) - chore(deps): update typescript ([#​17699](https://github.com/vitejs/vite/issues/17699)) ([df5ceb3](https://github.com/vitejs/vite/commit/df5ceb35b7f744cfcdfe3a28834f890f35f2b18f)), closes [#​17699](https://github.com/vitejs/vite/issues/17699) - revert: fix(logger): truncate log over 5000 characters long ([#​16581](https://github.com/vitejs/vite/issues/16581)) ([#​17729](https://github.com/vitejs/vite/issues/17729)) ([f4f488f](https://github.com/vitejs/vite/commit/f4f488fe83a0b710dd3de34a7075398cfce59605)), closes [#​16581](https://github.com/vitejs/vite/issues/16581) [#​17729](https://github.com/vitejs/vite/issues/17729) </details> <details> <summary>vuejs/core (vue)</summary> ### [`v3.4.35`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3435-2024-07-31) [Compare Source](https://github.com/vuejs/core/compare/v3.4.34...v3.4.35) ##### Bug Fixes - **teleport/ssr:** fix Teleport hydration regression due to targetStart anchor addition ([7b18cdb](https://github.com/vuejs/core/commit/7b18cdb0b53a94007ca6a3675bf41b5d3153fec6)) - **teleport/ssr:** ensure targetAnchor and targetStart not null during hydration ([#​11456](https://github.com/vuejs/core/issues/11456)) ([12667da](https://github.com/vuejs/core/commit/12667da4879f980dcf2c50e36f3642d085a87d71)), closes [#​11400](https://github.com/vuejs/core/issues/11400) - **types/ref:** allow getter and setter types to be unrelated ([#​11442](https://github.com/vuejs/core/issues/11442)) ([e0b2975](https://github.com/vuejs/core/commit/e0b2975ef65ae6a0be0aa0a0df43fb887c665251)) ##### Performance Improvements - **runtime-core:** improve efficiency of normalizePropsOptions ([#​11409](https://github.com/vuejs/core/issues/11409)) ([5680142](https://github.com/vuejs/core/commit/5680142e68096c42e66da9f4c6220d040d7c56ba)), closes [#​9739](https://github.com/vuejs/core/issues/9739) ### [`v3.4.34`](https://github.com/vuejs/core/blob/HEAD/CHANGELOG.md#3434-2024-07-24) [Compare Source](https://github.com/vuejs/core/compare/v3.4.33...v3.4.34) ##### Bug Fixes - **defineModel:** correct update with multiple changes in same tick ([#​11430](https://github.com/vuejs/core/issues/11430)) ([a18f1ec](https://github.com/vuejs/core/commit/a18f1ecf05842337f1eb39a6871adb8cb4024093)), closes [#​11429](https://github.com/vuejs/core/issues/11429) </details> <details> <summary>vuejs/router (vue-router)</summary> ### [`v4.4.2`](https://github.com/vuejs/router/releases/tag/v4.4.2) [Compare Source](https://github.com/vuejs/router/compare/v4.4.1...v4.4.2) Please refer to [CHANGELOG.md](https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md) for details. ### [`v4.4.1`](https://github.com/vuejs/router/compare/v4.4.0...v4.4.1) [Compare Source](https://github.com/vuejs/router/compare/v4.4.0...v4.4.1) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.29`](https://github.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#2028-supofficialsup-2029-supinsiderssup-2024-07-22) [Compare Source](https://github.com/vuejs/language-tools/compare/v2.0.28...49ad9563e6f2677595878a000179dfea83fb910c) ##### Features - **vscode:** focus mode <sup>Insiders</sup> ([https://github.com/volarjs/insiders/pull/24](https://github.com/volarjs/insiders/pull/24)) - **language-core:** Plugin API 2.1 - Added plugin hooks: `getLanguageId`, `isValidFile`, `parseSFC2` - Improve backward compatibility ([#​4585](https://github.com/vuejs/language-tools/issues/4585)) - Thanks [@​zhiyuanzmj](https://github.com/zhiyuanzmj) - **language-core:** support default prop when using \__typeProps ([#​4602](https://github.com/vuejs/language-tools/issues/4602)) - Thanks [@​zhiyuanzmj](https://github.com/zhiyuanzmj) - **language-core:** improve nested plugins ([#​4581](https://github.com/vuejs/language-tools/issues/4581)) - Thanks [@​zhiyuanzmj](https://github.com/zhiyuanzmj) - **language-service:** remove `v-bind` code action ([#​4601](https://github.com/vuejs/language-tools/issues/4601)) - **vscode:** add empty pattern to codeblock attributes scope ([#​4590](https://github.com/vuejs/language-tools/issues/4590)) - Thanks [@​KermanX](https://github.com/KermanX) ##### Fixes - **tsc:** errors should be thrown instead of being console.log printed - **language-server:** observe named pipes changes when server startup ([#​4292](https://github.com/vuejs/language-tools/issues/4292)) - **language-core:** infer define model type from options type ([#​4545](https://github.com/vuejs/language-tools/issues/4545)) - Thanks [@​davidmatter](https://github.com/davidmatter) - **language-core:** type-checking not working with hyphen in slot name with JS ([#​4478](https://github.com/vuejs/language-tools/issues/4478)) - Thanks [@​KermanX](https://github.com/KermanX) - **language-core:** add type check for v-model without argument ([#​4598](https://github.com/vuejs/language-tools/issues/4598)) - Thanks [@​zhiyuanzmj](https://github.com/zhiyuanzmj) - **language-service:** filter special tags ([#​4596](https://github.com/vuejs/language-tools/issues/4596)) - Thanks [@​so1ve](https://github.com/so1ve) - **typescript-plugin:** improve named pipes reliability ([#​4603](https://github.com/vuejs/language-tools/issues/4603)) - **language-core:** property access is incorrectly identified as compound expression ([#​4600](https://github.com/vuejs/language-tools/issues/4600)) - **language-core:** fix compatibility of generic component virtual code with TS 5.5 ([#​4577](https://github.com/vuejs/language-tools/issues/4577)) - **tsc:** TS4082 not reported for functional component ([#​4569](https://github.com/vuejs/language-tools/issues/4569)) ##### Other Changes - Upgraded Volar from `v2.4.0-alpha.15` to `v2.4.0-alpha.18`: - Fix VS Code IntelliSense will be lost in new created files ([#​4424](https://github.com/vuejs/language-tools/issues/4424)) - Add workspace symbols support in Hybrid Mode ([#​4595](https://github.com/vuejs/language-tools/issues/4595)) - Add workspace `addMissingImports` action support in Hybrid Mode ([#​4586](https://github.com/vuejs/language-tools/issues/4586)) - Fix yarn 4 compatibility ([#​4587](https://github.com/vuejs/language-tools/issues/4587)) - Add vue vine to hybrid mode compatible list ([#​4543](https://github.com/vuejs/language-tools/issues/4543)) - Thanks [@​so1ve](https://github.com/so1ve) - Add global components prop validation test ([#​4542](https://github.com/vuejs/language-tools/issues/4542)) - Thanks [@​davidmatter](https://github.com/davidmatter) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/nuxt-modules/storybook). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Environment
Package
None
Reproduction
https://github.com/adamreisnz/nuxt-eslint-reproduction/tree/issue-461
Describe the bug
Several built-in Nuxt globals are showing up as undefined, despite using the Nuxt ESLint module.
For example, check the files:
nuxt.config.ts
-->defineNuxtConfig
is marked by ESLint as not definedserver/test.js
-->defineEventHandler
andreadBody
are marked by ESLint as not definedThis list is probably non-exhaustive, it's just the methods I've used so far.
Additional context
This is with a brand new Nuxt app with module enabled, and some additional globals
Logs
No response
The text was updated successfully, but these errors were encountered: