Switch from eslint to oxlint (#34166)
* Fix type imports * Fix jsdoc * Fixup types * Fix stray awaits on non-thenables * Fixup imports * Fix splats * Fix this-context on callbacks * Memoise react contexts * Prefer find/flatMap * Make oxlint happier about our React keys * Avoid unsafe default function params * Fixup jsdoc * Fixup contexts * Switch from eslint to oxlint * Some oxlint-related tweaks * Iterate * Partial revert to defer some changes and shrink diff * Iterate * Add eslint-plugin-element-call and enable the copyright rule * Set strictStorePkgContentCheck * Iterate * Make sonar happy * Fix new lints
This commit is contained in:
@@ -825,7 +825,7 @@ export default (env: string, argv: Record<string, any>): webpack.Configuration =
|
||||
*
|
||||
* @param url The adjusted name of the file, such as `warning.1234567.svg`.
|
||||
* @param resourcePath The absolute path to the source file with unmodified name.
|
||||
* @return The returned paths will look like `img/warning.1234567.svg`.
|
||||
* @returns The returned paths will look like `img/warning.1234567.svg`.
|
||||
*/
|
||||
function getAssetOutputPath(url: string, resourcePath: string): string {
|
||||
const isKaTeX = resourcePath.includes("KaTeX");
|
||||
|
||||
Reference in New Issue
Block a user