chore: mark @nuxt/test-utils package as external group (#19419)

This commit is contained in:
Xin Du (Clark) 2023-03-03 10:58:15 +00:00 committed by GitHub
parent 842c4e635d
commit 93c31cfd5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -24,6 +24,16 @@
"jsdoc/require-returns": "off", "jsdoc/require-returns": "off",
"jsdoc/require-param-type": "off", "jsdoc/require-param-type": "off",
"no-redeclare": "off", "no-redeclare": "off",
"import/order": [
"error", {
"pathGroups": [
{
"pattern": "@nuxt/test-utils",
"group": "external"
}
]
}
],
"import/no-restricted-paths": [ "import/no-restricted-paths": [
"error", "error",
{ {

View File

@ -3,7 +3,6 @@ import { describe, expect, it } from 'vitest'
import { joinURL, withQuery } from 'ufo' import { joinURL, withQuery } from 'ufo'
import { isCI, isWindows } from 'std-env' import { isCI, isWindows } from 'std-env'
import { normalize } from 'pathe' import { normalize } from 'pathe'
// eslint-disable-next-line import/order
import { setup, fetch, $fetch, startServer, isDev, createPage, url } from '@nuxt/test-utils' import { setup, fetch, $fetch, startServer, isDev, createPage, url } from '@nuxt/test-utils'
import type { NuxtIslandResponse } from '../packages/nuxt/src/core/runtime/nitro/renderer' import type { NuxtIslandResponse } from '../packages/nuxt/src/core/runtime/nitro/renderer'

View File

@ -3,7 +3,6 @@ import { fileURLToPath } from 'node:url'
import { describe, expect, it } from 'vitest' import { describe, expect, it } from 'vitest'
import { isWindows } from 'std-env' import { isWindows } from 'std-env'
import { join } from 'pathe' import { join } from 'pathe'
// eslint-disable-next-line import/order
import { setup, $fetch } from '@nuxt/test-utils' import { setup, $fetch } from '@nuxt/test-utils'
import { expectWithPolling, renderPage } from './utils' import { expectWithPolling, renderPage } from './utils'