Skip to content

Commit

Permalink
Lint with updated biome
Browse files Browse the repository at this point in the history
  • Loading branch information
lwileczek committed Jul 4, 2024
1 parent cae9c59 commit e636bc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "npm run build:css && npm run build:js",
"build:prod": "npm run build:css && npm run build:js:prod",
"lint": "npx @biomejs/biome lint ./src/*.js",
"fix": "npx @biomejs/biome check --apply ./src/*.js"
"fix": "npx @biomejs/biome check --write ./src/*.js"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/enlargeImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const addImageListeners = () => {
}

const b = document.querySelector("#bigImg button");
b.onclick = function () {
b.onclick = () => {
const d = document.getElementById("bigImg");
d.close();
};
Expand Down

0 comments on commit e636bc7

Please sign in to comment.