Skip to content

Commit bfdcb13

Browse files
committed
chore: fix lint
1 parent 7d72e3f commit bfdcb13

File tree

7 files changed

+63
-60
lines changed

7 files changed

+63
-60
lines changed

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"*.webp",
5353
"node_modules",
5454
"coverage",
55-
"*.log"
55+
"*.log",
56+
"test/lock-files/url/**"
5657
]
5758
}

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/dist
33
/node_modules
44
/test/fixtures
5-
CHANGELOG.md
5+
CHANGELOG.md
6+
test/lock-files/url/**

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { defineConfig } from "eslint/config";
22
import configs from "eslint-config-webpack/configs.js";
33

44
export default defineConfig([
5+
{
6+
ignores: ["test/lock-files/url/**"],
7+
},
58
{
69
extends: [configs["recommended-dirty"]],
710
},

test/__snapshots__/loader.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ replaced_file_protocol_/webpack/public/path/image-7bc91c245a8a10a4.png 2x
729729
<input type="image" src="replaced_file_protocol_/webpack/public/path/image-7bc91c245a8a10a4.png" alt="Submit">
730730
</form>
731731

732-
<script src="replaced_file_protocol_/webpack/public/path/index-4312cce64eaca8c7.js"></script>
732+
<script src="replaced_file_protocol_/webpack/public/path/index-c66d8cbdff7a4fa3.js"></script>
733733

734734
<audio controls>
735735
<source src="replaced_file_protocol_/webpack/public/path/example-f925bf8882bfbb97.ogg" type="audio/ogg">
@@ -1077,7 +1077,7 @@ alt" />
10771077
<img src="replaced_file_protocol_/webpack/public/path/noscript-f665d94d81cc897b.png" alt="noscript content" />
10781078
</noscript>
10791079

1080-
<img src="replaced_file_protocol_/webpack/public/path/image-ef46db3751d8e999.png">
1080+
<img src="replaced_file_protocol_/webpack/public/path/image-7bc91c245a8a10a4.png">
10811081
<img src="replaced_file_protocol_/webpack/public/path/%F0%9F%98%80abc-7bc91c245a8a10a4.png" alt="Smiley face">
10821082
<img src="replaced_file_protocol_/webpack/public/path/%F0%9F%98%80abc-7bc91c245a8a10a4.png" alt="Smiley face">
10831083
<img srcset="replaced_file_protocol_/webpack/public/path/%F0%9F%98%80abc-7bc91c245a8a10a4.png 480w, replaced_file_protocol_/webpack/public/path/image-7bc91c245a8a10a4.png 800w" sizes="(max-width: 600px) 480px, 800px" src="replaced_file_protocol_/webpack/public/path/image-7bc91c245a8a10a4.png" alt="Elva dressed as a fairy">

test/lock-files/url/https_github.com/webpack-contrib_css-loader_blob_master_src_index_c9784a6436645af20518.js

Lines changed: 52 additions & 54 deletions
Large diffs are not rendered by default.
76.3 KB
Loading

test/lock-files/url/lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"https://github.com/webpack-contrib/css-loader/blob/master/src/index.js": { "integrity": "sha512-3MN4f3WMtajf5J7ZehBobpyn8QXJ8Rm9v3rk3ETsNZO1viu0uXHInVPzqjJojdjHyaEhTVWC1//5A3ZFvQ8ZCw==", "contentType": "text/html; charset=utf-8" },
3-
"https://raw.githubusercontent.com/webpack-contrib/html-loader/master/test/fixtures/image.png": { "integrity": "sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==", "contentType": "image/png" },
2+
"https://github.com/webpack-contrib/css-loader/blob/master/src/index.js": { "integrity": "sha512-ADpLjNFmz25gqH2rPNnyKrbN2ZJHICOw5SqTYjAIwmJjjnhGoR4dzJ72/Gy2+dMfARSk4vwdVSPmhdA5DH3SPw==", "contentType": "text/html; charset=utf-8" },
3+
"https://raw.githubusercontent.com/webpack-contrib/html-loader/master/test/fixtures/image.png": { "integrity": "sha512-bHqIPBYwzPsVLYcTDqJzwgvIaxLjmezufiCVXAMI0Naelf3eWVdydMA40hXbSuB0dZCGjCepuGaI7Ze8kLM+Ew==", "contentType": "image/png" },
44
"version": 1
55
}

0 commit comments

Comments
 (0)