Skip to content

Commit 1aa0e16

Browse files
Merge pull request #107 from TheDragonCode/code-style-tkj84dn
The code style has been fixed
2 parents 6f729e0 + f789013 commit 1aa0e16

4 files changed

Lines changed: 41 additions & 44 deletions

File tree

package-lock.json

Lines changed: 36 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@babel/core": "^7.28.5",
4343
"@babel/preset-env": "^7.28.5",
4444
"@babel/preset-typescript": "^7.28.5",
45-
"@biomejs/biome": "^2.3.11",
45+
"@biomejs/biome": "^2.3.15",
4646
"@types/jest": "^30.0.0",
4747
"@types/js-yaml": "^4.0.9",
4848
"@types/node": "^25.0.5",

src/types/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export interface Icon {
22
query: string;
33
icon: string;
4-
exclude?: string[]
4+
exclude?: string[];
55
}

src/utils/icons.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const phpIcons: Icon[] = [
88
{
99
query: "symfony/",
1010
icon: "https://symfony.com/logos/symfony_black_03.svg",
11-
exclude: ["polyfill", "var-dumper"]
11+
exclude: ["polyfill", "var-dumper"],
1212
},
1313
];
1414

@@ -26,11 +26,11 @@ const find = (
2626

2727
for (const name of names) {
2828
for (const icon of icons) {
29-
if (! name.includes(icon.query)) {
29+
if (!name.includes(icon.query)) {
3030
continue;
3131
}
3232

33-
if (! icon.exclude) {
33+
if (!icon.exclude) {
3434
return icon.icon;
3535
}
3636

0 commit comments

Comments
 (0)