This commit is contained in:
Daniel Shleifman
2021-06-05 01:33:01 +03:00
parent 677129b282
commit 8c7e8a1481
3 changed files with 12 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
"axios": "^0.21.1", "axios": "^0.21.1",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"fontsource-roboto": "^4.0.0", "fontsource-roboto": "^4.0.0",
"husky": "^6.0.0",
"konva": "^8.0.1", "konva": "^8.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"material-ui-image": "^3.3.2", "material-ui-image": "^3.3.2",
@@ -33,6 +34,11 @@
"lint": "eslint --ext .js,.jsx src --color", "lint": "eslint --ext .js,.jsx src --color",
"fix": "yarn lint --fix" "fix": "yarn lint --fix"
}, },
"husky": {
"hooks": {
"pre-commit": "yarn lint --quiet"
}
},
"browserslist": { "browserslist": {
"production": [ "production": [
">0.2%", ">0.2%",

View File

@@ -97,7 +97,7 @@ export default function DefaultSnake({ isMini, cacheMap, preloadPiecesAmount })
const { x, y } = getItemCoordinates(id) const { x, y } = getItemCoordinates(id)
return ( return (
<SingleBlock {/* <SingleBlock */}
key={uuidv4()} key={uuidv4()}
x={x} x={x}
y={y} y={y}

View File

@@ -6500,6 +6500,11 @@ human-signals@^1.1.1:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
husky@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
hyphenate-style-name@^1.0.3: hyphenate-style-name@^1.0.3:
version "1.0.4" version "1.0.4"
resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d"