Unignore test/**/*.test.*
for ESLint (#66415)
This commit is contained in:
parent
7ea0337ad1
commit
d6e28bca0e
4 changed files with 10 additions and 7 deletions
|
@ -27,10 +27,11 @@ packages/next-codemod/**/*.js
|
|||
packages/next-codemod/**/*.d.ts
|
||||
packages/next-env/**/*.d.ts
|
||||
packages/create-next-app/templates/**
|
||||
test/integration/eslint/**
|
||||
test/integration/script-loader/**/*
|
||||
test/development/basic/legacy-decorators/**/*
|
||||
test/integration/eslint/**/*.js
|
||||
test/integration/script-loader/**/*.js
|
||||
test/development/basic/legacy-decorators/**/*.js
|
||||
test/production/emit-decorator-metadata/**/*.js
|
||||
!test/**/*.test.*
|
||||
test/e2e/app-dir/rsc-errors/app/swc/use-client/page.js
|
||||
test-timings.json
|
||||
packages/next-swc/crates/**
|
||||
|
|
|
@ -486,7 +486,7 @@ describe('Next Lint', () => {
|
|||
expect(output).not.toContain('Synchronous scripts should not be used.')
|
||||
})
|
||||
|
||||
test('output flag create a file respecting the chosen format', async () => {
|
||||
test('format flag "json" creates a file respecting the chosen format', async () => {
|
||||
const filePath = `${__dirname}/output/output.json`
|
||||
const { stdout, stderr } = await nextLint(
|
||||
dirFileLinting,
|
||||
|
@ -538,7 +538,7 @@ describe('Next Lint', () => {
|
|||
}
|
||||
})
|
||||
|
||||
test('output flag create a file respecting the chosen format', async () => {
|
||||
test('format flag "compact" creates a file respecting the chosen format', async () => {
|
||||
const filePath = `${__dirname}/output/output.txt`
|
||||
const { stdout, stderr } = await nextLint(
|
||||
dirFileLinting,
|
||||
|
|
|
@ -8458,11 +8458,12 @@
|
|||
"Next Lint don't create .eslintrc file if package.json has eslintConfig field",
|
||||
"Next Lint file flag can selectively lint only a single file",
|
||||
"Next Lint file flag can selectively lints multiple files",
|
||||
"Next Lint format flag \"compact\" creates a file respecting the chosen format",
|
||||
"Next Lint format flag \"json\" creates a file respecting the chosen format",
|
||||
"Next Lint format flag supports additional user-defined formats",
|
||||
"Next Lint lint files with cjs and mjs file extension",
|
||||
"Next Lint max warnings flag does not error when warnings do not exceed threshold",
|
||||
"Next Lint max warnings flag errors when warnings exceed threshold",
|
||||
"Next Lint output flag create a file respecting the chosen format",
|
||||
"Next Lint quiet flag suppresses warnings and only reports errors",
|
||||
"Next Lint should add relative path for dist types in tsconfig.json when app dir exist",
|
||||
"Next Lint should generate next-env.d.ts before lint command",
|
||||
|
|
|
@ -10508,11 +10508,12 @@
|
|||
"Next Lint don't create .eslintrc file if package.json has eslintConfig field",
|
||||
"Next Lint file flag can selectively lint only a single file",
|
||||
"Next Lint file flag can selectively lints multiple files",
|
||||
"Next Lint format flag \"compact\" creates a file respecting the chosen format",
|
||||
"Next Lint format flag \"json\" creates a file respecting the chosen format",
|
||||
"Next Lint format flag supports additional user-defined formats",
|
||||
"Next Lint lint files with cjs and mjs file extension",
|
||||
"Next Lint max warnings flag does not error when warnings do not exceed threshold",
|
||||
"Next Lint max warnings flag errors when warnings exceed threshold",
|
||||
"Next Lint output flag create a file respecting the chosen format",
|
||||
"Next Lint quiet flag suppresses warnings and only reports errors",
|
||||
"Next Lint should add relative path for dist types in tsconfig.json when app dir exist",
|
||||
"Next Lint should generate next-env.d.ts before lint command",
|
||||
|
|
Loading…
Reference in a new issue