-
-
Notifications
You must be signed in to change notification settings - Fork 199
chore: upgrade eslint from v8 to v9 #568
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
Conversation
// it('should delegate resolving (LESS) imports with URLs to "less" package', async () => { | ||
// const testId = "./import-keyword-url.less"; | ||
// const compiler = getCompiler(testId); | ||
// const stats = await compile(compiler); | ||
// const codeFromBundle = getCodeFromBundle(stats, compiler); | ||
// const codeFromLess = await getCodeFromLess(testId); | ||
// | ||
// expect(codeFromBundle.css).toBe(codeFromLess.css); | ||
// expect(codeFromBundle.css).toMatchSnapshot("css"); | ||
// expect(getWarnings(stats)).toMatchSnapshot("warnings"); | ||
// expect(getErrors(stats)).toMatchSnapshot("errors"); | ||
// }); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't remove this
// it("should not add to dependencies imports with URLs", async () => { | ||
// const testId = "./import-url-deps.less"; | ||
// const compiler = getCompiler(testId); | ||
// const stats = await compile(compiler); | ||
// const codeFromBundle = getCodeFromBundle(stats, compiler); | ||
// const codeFromLess = await getCodeFromLess(testId); | ||
// const { fileDependencies } = stats.compilation; | ||
// | ||
// validateDependencies(fileDependencies); | ||
// | ||
// Array.from(fileDependencies).forEach((item) => { | ||
// ["http", "https"].forEach((protocol) => { | ||
// expect(item.includes(protocol)).toBe(false); | ||
// }); | ||
// }); | ||
// | ||
// expect(codeFromBundle.css).toBe(codeFromLess.css); | ||
// expect(codeFromBundle.css).toMatchSnapshot("css"); | ||
// expect(getWarnings(stats)).toMatchSnapshot("warnings"); | ||
// expect(getErrors(stats)).toMatchSnapshot("errors"); | ||
// }); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revert this too
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #568 +/- ##
==========================================
+ Coverage 92.02% 92.21% +0.19%
==========================================
Files 3 3
Lines 163 167 +4
Branches 41 44 +3
==========================================
+ Hits 150 154 +4
Misses 12 12
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR contains a:
Motivation / Use-Case
upgrade eslint from v8 to v9
Breaking Changes
No
Additional Info
No