File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
packages/vite/src/node/plugins Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ export function assetImportMetaUrlPlugin(config: ResolvedConfig): Plugin {
5353 ) {
5454 let s : MagicString | undefined
5555 const assetImportMetaUrlRE =
56- // eslint-disable-next-line regexp/no-unused-capturing-group -- https://github.com/ota-meshi/eslint-plugin-regexp/issues/675
5756 / \b n e w \s + U R L \s * \( \s * ( ' [ ^ ' ] + ' | " [ ^ " ] + " | ` [ ^ ` ] + ` ) \s * , \s * i m p o r t \. m e t a \. u r l \s * (?: , \s * ) ? \) / dg
5857 const cleanString = stripLiteral ( code )
5958
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ const htmlProxyRE =
4848const inlineCSSRE = / _ _ V I T E _ I N L I N E _ C S S _ _ ( [ a - z \d ] { 8 } _ \d + ) _ _ / g
4949// Do not allow preceding '.', but do allow preceding '...' for spread operations
5050const inlineImportRE =
51- // eslint-disable-next-line regexp/no-unused-capturing-group -- https://github.com/ota-meshi/eslint-plugin-regexp/issues/675
5251 / (?< ! (?< ! \. \. ) \. ) \b i m p o r t \s * \( ( " (?: [ ^ " ] | (?< = \\ ) " ) * " | ' (?: [ ^ ' ] | (?< = \\ ) ' ) * ' ) \) / dg
5352const htmlLangRE = / \. (?: h t m l | h t m ) $ /
5453
Original file line number Diff line number Diff line change @@ -137,7 +137,6 @@ export function workerImportMetaUrlPlugin(config: ResolvedConfig): Plugin {
137137 let s : MagicString | undefined
138138 const cleanString = stripLiteral ( code )
139139 const workerImportMetaUrlRE =
140- // eslint-disable-next-line regexp/no-unused-capturing-group -- https://github.com/ota-meshi/eslint-plugin-regexp/issues/675
141140 / \b n e w \s + (?: W o r k e r | S h a r e d W o r k e r ) \s * \( \s * ( n e w \s + U R L \s * \( \s * ( ' [ ^ ' ] + ' | " [ ^ " ] + " | ` [ ^ ` ] + ` ) \s * , \s * i m p o r t \. m e t a \. u r l \s * \) ) / dg
142141
143142 let match : RegExpExecArray | null
You can’t perform that action at this time.
0 commit comments