Skip to content

Commit 932afd2

Browse files
committed
fix: removed incorrect eslint instructions when eslint fails with an unknown error
1 parent cdc7892 commit 932afd2

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/dependencies/import-linter.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,7 @@ export async function validateImports({basePath}: {basePath: string}): Promise<s
8585
return [
8686
outdent`
8787
Failed to run ESLint. Is ESLint configured?
88-
It is recommended to install eslint-config-sanity and add 'sanity/upgrade-v2' to your eslint-extends config.
8988
90-
Run:
91-
npm install --save-dev eslint-config-sanity
92-
93-
In .eslintrc add:
94-
extends: ['sanity/upgrade-v2']
95-
96-
This way, V2-imports can be identified directly in the IDE, or using eslint CLI.
9789
If the package does not use eslint, disable this check.
9890
`,
9991
]

tap-snapshots/test/verify-package.test.ts.test.cjs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,7 @@ Referenced from: root/.eslintrc
298298
}
299299
[error]
300300
Failed to run ESLint. Is ESLint configured?
301-
It is recommended to install eslint-config-sanity and add 'sanity/upgrade-v2' to your eslint-extends config.
302301
303-
Run:
304-
npm install --save-dev eslint-config-sanity
305-
306-
In .eslintrc add:
307-
extends: ['sanity/upgrade-v2']
308-
309-
This way, V2-imports can be identified directly in the IDE, or using eslint CLI.
310302
If the package does not use eslint, disable this check.
311303
312304
To skip this validation add the following to your package.json:

0 commit comments

Comments
 (0)