-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintcache
1 lines (1 loc) · 20.1 KB
/
.eslintcache
1
[{"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/index.tsx":"1","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/reportWebVitals.ts":"2","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/hooks/useMouseMove.ts":"3","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.tsx":"4","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.styles.ts":"5","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/index.ts":"6","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.assets.tsx":"7","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/index.ts":"8","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/index.ts":"9","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/index.ts":"10","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/index.ts":"11","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Waves/index.ts":"12","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/index.ts":"13","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/index.ts":"14","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.tsx":"15","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/CodeWriter.tsx":"16","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/Header.tsx":"17","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.tsx":"18","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Waves/Waves.tsx":"19","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/Section.tsx":"20","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/Blocks.tsx":"21","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/Header.styles.ts":"22","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.styles.ts":"23","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/CodeWriter.styles.ts":"24","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.styles.ts":"25","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/Section.styles.ts":"26","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/Blocks.styles.ts":"27","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.assets.tsx":"28","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.assets.tsx":"29","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Illustrations/Personalize.tsx":"30","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Illustrations/Check.tsx":"31"},{"size":268,"mtime":1628608703610,"results":"32","hashOfConfig":"33"},{"size":425,"mtime":1622806942643,"results":"34","hashOfConfig":"33"},{"size":940,"mtime":1625740022178,"results":"35","hashOfConfig":"33"},{"size":8482,"mtime":1637087323758,"results":"36","hashOfConfig":"33"},{"size":2571,"mtime":1636921752446,"results":"37","hashOfConfig":"33"},{"size":391,"mtime":1636926047220,"results":"38","hashOfConfig":"33"},{"size":871,"mtime":1628602636462,"results":"39","hashOfConfig":"33"},{"size":37,"mtime":1628602610471,"results":"40","hashOfConfig":"33"},{"size":43,"mtime":1628602610487,"results":"41","hashOfConfig":"33"},{"size":35,"mtime":1628602610495,"results":"42","hashOfConfig":"33"},{"size":53,"mtime":1628602610518,"results":"43","hashOfConfig":"33"},{"size":45,"mtime":1628602610539,"results":"44","hashOfConfig":"33"},{"size":37,"mtime":1628602610526,"results":"45","hashOfConfig":"33"},{"size":35,"mtime":1628602610463,"results":"46","hashOfConfig":"33"},{"size":390,"mtime":1628602610471,"results":"47","hashOfConfig":"33"},{"size":1086,"mtime":1636928581230,"results":"48","hashOfConfig":"33"},{"size":993,"mtime":1636927002681,"results":"49","hashOfConfig":"33"},{"size":1037,"mtime":1628602610518,"results":"50","hashOfConfig":"33"},{"size":2152,"mtime":1636814679435,"results":"51","hashOfConfig":"33"},{"size":321,"mtime":1628602610526,"results":"52","hashOfConfig":"33"},{"size":501,"mtime":1636903899947,"results":"53","hashOfConfig":"33"},{"size":3185,"mtime":1636846883461,"results":"54","hashOfConfig":"33"},{"size":1204,"mtime":1628602610471,"results":"55","hashOfConfig":"33"},{"size":809,"mtime":1636981508974,"results":"56","hashOfConfig":"33"},{"size":1328,"mtime":1628793739268,"results":"57","hashOfConfig":"33"},{"size":4276,"mtime":1637258390143,"results":"58","hashOfConfig":"33"},{"size":4349,"mtime":1629554421945,"results":"59","hashOfConfig":"33"},{"size":1557,"mtime":1628602610470,"results":"60","hashOfConfig":"33"},{"size":1190,"mtime":1628602610512,"results":"61","hashOfConfig":"33"},{"size":3895,"mtime":1636906863571,"results":"62","hashOfConfig":"33"},{"size":1558,"mtime":1636926007534,"results":"63","hashOfConfig":"33"},{"filePath":"64","messages":"65","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"66","usedDeprecatedRules":"67"},"uvmmhg",{"filePath":"68","messages":"69","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"70"},{"filePath":"71","messages":"72","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"73"},{"filePath":"74","messages":"75","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"78","messages":"79","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"80","messages":"81","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"82","messages":"83","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"86","messages":"87","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"92","messages":"93","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"94","messages":"95","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"98","messages":"99","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":"100","usedDeprecatedRules":"67"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"103","usedDeprecatedRules":"67"},{"filePath":"104","messages":"105","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"108","usedDeprecatedRules":"67"},{"filePath":"109","messages":"110","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"67"},"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/index.tsx",["133"],"import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./fonts.css\";\nimport App from \"./App\";\nimport reportWebVitals from \"./reportWebVitals\";\n\nReactDOM.render(\n <React.StrictMode>\n <App />\n </React.StrictMode>,\n document.getElementById(\"root\")\n);\n",["134","135"],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/reportWebVitals.ts",[],["136","137"],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/hooks/useMouseMove.ts",[],["138","139"],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.tsx",["140"],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/App.assets.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Waves/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/index.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/CodeWriter.tsx",["141","142","143","144"],"import React, { ReactElement, useEffect, useRef } from \"react\";\nimport { useState } from \"react\";\nimport { useInView } from \"react-intersection-observer\";\nimport { StyledCode } from \"./CodeWriter.styles\";\n\nexport const CodeWriter = (): ReactElement => {\n const { ref, inView } = useInView({\n threshold: 0,\n });\n const [hasPlayed, setHasPlayed] = useState(false);\n const videoRef = useRef<HTMLVideoElement>(null);\n\n useEffect(() => {\n if (videoRef?.current) {\n videoRef.current.playbackRate = 2;\n // https://github.com/facebook/react/issues/10389\n videoRef.current.defaultMuted = true;\n videoRef.current.muted = true;\n }\n }, [videoRef?.current]);\n return (\n <StyledCode ref={ref}>\n <video\n src=\"https://haakon.dev/codewriter.mp4\"\n poster=\"https://haakon.dev/thumb.png\"\n muted={true}\n controls={false}\n onClick={() => {\n if (videoRef?.current) {\n videoRef.current.play();\n }\n }}\n title=\"Click to play video\"\n ref={videoRef}\n />\n </StyledCode>\n );\n};\n","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/Header.tsx",["145"],"import React from \"react\";\nimport { useInView } from \"react-intersection-observer\";\nimport { Waves } from \"../\";\nimport {\n HeaderBackground,\n LogoContainer,\n StyledHeader,\n Tag,\n} from \"./Header.styles\";\n\ntype Props = {\n isLightmode: boolean;\n};\n\nexport const Header = ({ isLightmode }: Props) => {\n const { ref, inView } = useInView();\n return (\n <StyledHeader>\n <HeaderBackground isLightmode={isLightmode} noAnim />\n <HeaderBackground\n key={isLightmode ? \"hbga\" : \"hbgb\"}\n isLightmode={isLightmode}\n />\n <LogoContainer>\n <img\n src={isLightmode ? \"/logo-lm.svg\" : \"/logo-dm.svg\"}\n alt={`Logo, ${\n isLightmode ? \"blått\" : \"oransje\"\n } vikingskip, hvor tuppen ser ut som et drage-hode.`}\n />\n <h1>\n Ryfylke{\" \"}\n <span ref={ref} key={inView ? \"a\" : \"b\"}>\n React\n </span>\n </h1>\n </LogoContainer>\n <Waves />\n </StyledHeader>\n );\n};\n","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Waves/Waves.tsx",["146"],"import React from \"react\";\nimport styled from \"styled-components\";\nimport { sectionAnim } from \"../Section/Section.styles\";\n\nconst StyledGroup = styled.g`\n fill: var(--ui-01);\n\n @keyframes move-waves {\n 0% {\n transform: translate3d(-30px, 0, 0);\n }\n 50% {\n transform: translate3d(30px, 0, 0);\n }\n 100% {\n transform: translate3d(-30px, 0, 0);\n }\n }\n use {\n animation: move-waves 50s ease-in-out infinite;\n fill: linear-gradient(from top, var(--ui-01), var(--ui-01));\n @media (prefers-reduced-motion) {\n animation: none;\n }\n }\n use:nth-child(odd) {\n animation-direction: reverse;\n animation-duration: 33s;\n }\n use:nth-child(1) {\n animation-delay: -2s;\n opacity: 0.7;\n }\n use:nth-child(2) {\n animation-delay: -3s;\n opacity: 0.5;\n }\n use:nth-child(3) {\n animation-delay: -4s;\n opacity: 0.3;\n }\n use:nth-child(4) {\n animation-delay: -5s;\n }\n`;\n\nexport function Waves(\n props: React.SVGProps<SVGSVGElement> & { background?: string }\n) {\n return (\n <svg\n className=\"prefix__waves\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlnsXlink=\"http://www.w3.org/1999/xlink\"\n viewBox=\"0 24 150 28\"\n preserveAspectRatio=\"none\"\n {...props}\n >\n <defs>\n <path\n id=\"prefix__a\"\n d=\"M-160 44c30 0 58-18 88-18s58 18 88 18 58-18 88-18 58 18 88 18v44h-352z\"\n />\n </defs>\n <StyledGroup\n style={{ fill: props?.background ?? \"var(--ui-01)\" }}\n >\n <use xlinkHref=\"#prefix__a\" />\n <use xlinkHref=\"#prefix__a\" x={50} y={3} />\n <use xlinkHref=\"#prefix__a\" x={100} y={5} />\n <use xlinkHref=\"#prefix__a\" x={150} y={7} />\n </StyledGroup>\n </svg>\n );\n}\n\nconst StyledSmallWaves = styled.div`\n position: relative;\n z-index: 3;\n user-select: none;\n pointer-events: none;\n > svg {\n height: 150px;\n width: 100%;\n margin-top: -10rem;\n margin-bottom: 10rem;\n }\n`;\n\nexport const SmallWaves = (\n props: React.SVGProps<SVGSVGElement> & { background?: string }\n) => {\n return (\n <StyledSmallWaves>\n <Waves {...props} />\n </StyledSmallWaves>\n );\n};\n","/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/Section.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/Blocks.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Header/Header.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/CodeWriter/CodeWriter.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Section/Section.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Blocks/Blocks.styles.ts",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Browser/Browser.assets.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/LightmodeToggle/LightmodeToggle.assets.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Illustrations/Personalize.tsx",[],"/Users/hakonunderbakke/Documents/Projects/ryfylke-react-as.github.io/src/components/Illustrations/Check.tsx",[],{"ruleId":"147","severity":1,"message":"148","line":5,"column":8,"nodeType":"149","messageId":"150","endLine":5,"endColumn":23},{"ruleId":"151","replacedBy":"152"},{"ruleId":"153","replacedBy":"154"},{"ruleId":"151","replacedBy":"155"},{"ruleId":"153","replacedBy":"156"},{"ruleId":"151","replacedBy":"157"},{"ruleId":"153","replacedBy":"158"},{"ruleId":"159","severity":1,"message":"160","line":92,"column":6,"nodeType":"161","endLine":92,"endColumn":8,"suggestions":"162"},{"ruleId":"147","severity":1,"message":"163","line":7,"column":16,"nodeType":"149","messageId":"150","endLine":7,"endColumn":22},{"ruleId":"147","severity":1,"message":"164","line":10,"column":10,"nodeType":"149","messageId":"150","endLine":10,"endColumn":19},{"ruleId":"147","severity":1,"message":"165","line":10,"column":21,"nodeType":"149","messageId":"150","endLine":10,"endColumn":33},{"ruleId":"159","severity":1,"message":"166","line":20,"column":6,"nodeType":"161","endLine":20,"endColumn":25,"suggestions":"167"},{"ruleId":"147","severity":1,"message":"168","line":8,"column":3,"nodeType":"149","messageId":"150","endLine":8,"endColumn":6},{"ruleId":"147","severity":1,"message":"169","line":3,"column":10,"nodeType":"149","messageId":"150","endLine":3,"endColumn":21},"@typescript-eslint/no-unused-vars","'reportWebVitals' is defined but never used.","Identifier","unusedVar","no-native-reassign",["170"],"no-negated-in-lhs",["171"],["170"],["171"],["170"],["171"],"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'changeColors'. Either include it or remove the dependency array.","ArrayExpression",["172"],"'inView' is assigned a value but never used.","'hasPlayed' is assigned a value but never used.","'setHasPlayed' is assigned a value but never used.","React Hook useEffect has an unnecessary dependency: 'videoRef.current'. Either exclude it or remove the dependency array. Mutable values like 'videoRef.current' aren't valid dependencies because mutating them doesn't re-render the component.",["173"],"'Tag' is defined but never used.","'sectionAnim' is defined but never used.","no-global-assign","no-unsafe-negation",{"desc":"174","fix":"175"},{"desc":"176","fix":"177"},"Update the dependencies array to be: [changeColors]",{"range":"178","text":"179"},"Update the dependencies array to be: []",{"range":"180","text":"181"},[2346,2348],"[changeColors]",[659,678],"[]"]