Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": ["**/dist/**"]
"includes": [
"**",
"!**/dist/**",
"!**/node_modules/**",
"!**/test-results/**"
]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
Expand All @@ -26,8 +28,8 @@
"suspicious": {
"noEmptyBlock": "off"
},
"complexity": {
"noForEach": "off"
"style": {
"noDescendingSpecificity": "off"
}
}
},
Expand All @@ -36,5 +38,13 @@
"quoteStyle": "single",
"semicolons": "asNeeded"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
73 changes: 36 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"format": "biome check --write . && stylelint --fix '**/*.css'",
"prepare": "husky"
},
"browserslist": ["defaults"],
"browserslist": [
"defaults"
],
"dependencies": {
"normalize.css": "^8.0.1",
"photoswipe": "^5.4.4",
Expand All @@ -20,7 +22,7 @@
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@biomejs/biome": "1.9.4",
"@biomejs/biome": "2.0.0",
"@playwright/test": "^1.53.1",
"babel-loader": "^10.0.0",
"css-loader": "^7.1.2",
Expand Down
3 changes: 2 additions & 1 deletion src/css/type.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
font-family: "Titillium Web";
font-style: normal;
font-weight: 600;
src: url("../font/titillium-web-v10-latin-regular.woff2") format("woff2"),
src:
url("../font/titillium-web-v10-latin-regular.woff2") format("woff2"),
url("../font/titillium-web-v10-latin-regular.woff") format("woff");
}
2 changes: 1 addition & 1 deletion src/js/gallery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PhotoSwipeDynamicCaption from 'photoswipe-dynamic-caption-plugin'
import PhotoSwipeLightbox from 'photoswipe/lightbox'
import PhotoSwipeDynamicCaption from 'photoswipe-dynamic-caption-plugin'

/**
* Initializes PhotoSwipe gallery
Expand Down
Loading