Skip to content

Commit

Permalink
remove some use clients
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbenegas committed Apr 17, 2023
1 parent 41212ec commit 4a2d259
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 9 deletions.
2 changes: 1 addition & 1 deletion internal/eslint-config-custom/index.js
Expand Up @@ -19,6 +19,7 @@ module.exports = {
],
curly: ["error", "multi-line"],
"react/jsx-no-target-blank": [2, { allowReferrer: true }],
"react/display-name": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/explicit-member-accessibility": 0,
Expand All @@ -36,7 +37,6 @@ module.exports = {
"import/resolver": {
typescript: {
alwaysTryTypes: true,
project: ["website/tsconfig.json", "scrollytelling/tsconfig.json"],
},
},
react: {
Expand Down
8 changes: 8 additions & 0 deletions website/.eslintrc.js
@@ -0,0 +1,8 @@
module.exports = {
root: true,
rules: {
"react/display-name": 0,
},
// This tells ESLint to load the config from the package `eslint-config-custom`
extends: ["custom"],
};
1 change: 1 addition & 0 deletions website/package.json
Expand Up @@ -16,6 +16,7 @@
"@types/three": "^0.150.1",
"canvas-confetti": "^1.6.0",
"clsx": "^1.2.1",
"eslint-config-custom": "^0.0.0",
"gsap": "^3.11.5",
"leva": "^0.9.34",
"next": "^13.3.0",
Expand Down
1 change: 0 additions & 1 deletion website/src/app/sections/horizontal-marquee/index.tsx
@@ -1,4 +1,3 @@
"use client";
import * as Scrollytelling from "~/lib/scrollytelling-client";
import s from "./horizontal-marquee.module.scss";
import { forwardRef } from "react";
Expand Down
1 change: 0 additions & 1 deletion website/src/app/sections/lab-cylinder/intro/index.tsx
@@ -1,4 +1,3 @@
"use client";
import clsx from "clsx";
import * as Scrollytelling from "~/lib/scrollytelling-client";

Expand Down
2 changes: 0 additions & 2 deletions website/src/app/sections/last-parallax/index.tsx
@@ -1,5 +1,3 @@
"use client";

import * as Scrollytelling from "~/lib/scrollytelling-client";
import Image from "next/image";

Expand Down
37 changes: 33 additions & 4 deletions yarn.lock
Expand Up @@ -1248,7 +1248,7 @@ array.prototype.flat@^1.2.3, array.prototype.flat@^1.2.5, array.prototype.flat@^
es-abstract "^1.20.4"
es-shim-unscopables "^1.0.0"

array.prototype.flatmap@^1.3.0, array.prototype.flatmap@^1.3.1:
array.prototype.flatmap@^1.2.5, array.prototype.flatmap@^1.3.0, array.prototype.flatmap@^1.3.1:
version "1.3.1"
resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz"
integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==
Expand Down Expand Up @@ -1953,6 +1953,15 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==

eslint-config-custom@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-custom/-/eslint-config-custom-0.0.0.tgz#7829bdd98e657a63b03377538b5675c811247cf0"
integrity sha512-kwCw78yisbgKdJBJ5qooPmpBYDphDfM2oxSROmtfOwBXBwXuRiSV3suO01W3mVLEFpmQZxMWd/qajKpJhkKSug==
dependencies:
eslint-config-next "^12.0.8"
eslint-config-prettier "^8.3.0"
eslint-plugin-react "7.28.0"

eslint-config-next@^12.0.8:
version "12.3.4"
resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.3.4.tgz"
Expand Down Expand Up @@ -2074,6 +2083,26 @@ eslint-plugin-react-hooks@^4.5.0:
resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz"
integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==

eslint-plugin-react@7.28.0:
version "7.28.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.28.0.tgz#8f3ff450677571a659ce76efc6d80b6a525adbdf"
integrity sha512-IOlFIRHzWfEQQKcAD4iyYDndHwTQiCMcJVJjxempf203jnNLUnW34AXLrV33+nEXoifJE2ZEGmcjKPL8957eSw==
dependencies:
array-includes "^3.1.4"
array.prototype.flatmap "^1.2.5"
doctrine "^2.1.0"
estraverse "^5.3.0"
jsx-ast-utils "^2.4.1 || ^3.0.0"
minimatch "^3.0.4"
object.entries "^1.1.5"
object.fromentries "^2.0.5"
object.hasown "^1.1.0"
object.values "^1.1.5"
prop-types "^15.7.2"
resolve "^2.0.0-next.3"
semver "^6.3.0"
string.prototype.matchall "^4.0.6"

eslint-plugin-react@7.31.8:
version "7.31.8"
resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.8.tgz"
Expand Down Expand Up @@ -3474,7 +3503,7 @@ object.fromentries@^2.0.5, object.fromentries@^2.0.6:
define-properties "^1.1.4"
es-abstract "^1.20.4"

object.hasown@^1.1.1, object.hasown@^1.1.2:
object.hasown@^1.1.0, object.hasown@^1.1.1, object.hasown@^1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz"
integrity sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==
Expand Down Expand Up @@ -3724,7 +3753,7 @@ progress@^2.0.0:
resolved "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz"
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==

prop-types@^15.6.0, prop-types@^15.8.1:
prop-types@^15.6.0, prop-types@^15.7.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
Expand Down Expand Up @@ -4256,7 +4285,7 @@ string.prototype.codepointat@^0.2.1:
resolved "https://registry.npmjs.org/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz"
integrity sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==

string.prototype.matchall@^4.0.7, string.prototype.matchall@^4.0.8:
string.prototype.matchall@^4.0.6, string.prototype.matchall@^4.0.7, string.prototype.matchall@^4.0.8:
version "4.0.8"
resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz"
integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==
Expand Down

0 comments on commit 4a2d259

Please sign in to comment.