Skip to content

Commit

Permalink
Merge pull request #312 from mediamonks/dependabot/npm_and_yarn/minor…
Browse files Browse the repository at this point in the history
…_patch-b440a3aa9c

Bump the minor_patch group with 23 updates
  • Loading branch information
leroykorterink authored Feb 23, 2024
2 parents 433f103 + b3cab81 commit d07eab9
Show file tree
Hide file tree
Showing 9 changed files with 5,266 additions and 9,097 deletions.
23 changes: 23 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": [
"@mediamonks/eslint-config",
"@mediamonks/eslint-config-react",
"@mediamonks/eslint-config-typescript",
"@mediamonks/eslint-config-typescript-react"
],
"parserOptions": {
"project": "./tsconfig.json"
}
},
{
"files": ["*.cjs", "*.js", "*.jsx", "*.mjs"],
"extends": ["@mediamonks/eslint-config"],
"parserOptions": {
"ecmaVersion": "latest"
}
}
]
}
2 changes: 1 addition & 1 deletion .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { addons } from '@storybook/manager-api';
import { create } from '@storybook/theming/create';
import { create } from '@storybook/theming';

addons.setConfig({
theme: create({
Expand Down
14,264 changes: 5,219 additions & 9,045 deletions package-lock.json

Large diffs are not rendered by default.

61 changes: 15 additions & 46 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,56 +52,25 @@
"prepare": "husky install"
},
"prettier": "@mediamonks/prettier-config",
"eslintConfig": {
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"extends": [
"@mediamonks/eslint-config",
"@mediamonks/eslint-config-react",
"@mediamonks/eslint-config-typescript",
"@mediamonks/eslint-config-typescript-react"
],
"parserOptions": {
"project": "./tsconfig.json"
}
},
{
"files": [
"*.cjs",
"*.js",
"*.jsx",
"*.mjs"
],
"extends": [
"@mediamonks/eslint-config"
],
"parserOptions": {
"ecmaVersion": "latest"
}
}
]
},
"devDependencies": {
"@mediamonks/eslint-config": "^2.0.6",
"@mediamonks/eslint-config-react": "^2.1.11",
"@mediamonks/eslint-config-typescript": "^1.0.8",
"@mediamonks/eslint-config-typescript-react": "^1.0.10",
"@mediamonks/eslint-config": "^2.5.0",
"@mediamonks/eslint-config-react": "^2.6.0",
"@mediamonks/eslint-config-typescript": "^1.5.1",
"@mediamonks/eslint-config-typescript-react": "^1.4.1",
"@mediamonks/prettier-config": "^1.0.1",
"@storybook/addon-essentials": "^7.5.2",
"@storybook/addon-interactions": "^7.5.2",
"@storybook/addon-links": "^7.5.2",
"@storybook/blocks": "^7.5.2",
"@storybook/cli": "^7.5.2",
"@storybook/addon-essentials": "^7.6.17",
"@storybook/addon-interactions": "^7.6.17",
"@storybook/addon-links": "^7.6.17",
"@storybook/blocks": "^7.6.17",
"@storybook/cli": "^7.6.17",
"@storybook/jest": "^0.2.3",
"@storybook/react": "^7.5.2",
"@storybook/react-vite": "^7.5.2",
"@storybook/test-runner": "^0.13.0",
"@storybook/manager-api": "^7.6.17",
"@storybook/react": "^7.6.17",
"@storybook/react-vite": "^7.6.17",
"@storybook/test-runner": "^0.16.0",
"@storybook/testing-library": "^0.2.2",
"@storybook/types": "^7.5.2",
"@storybook/theming": "^7.6.17",
"@storybook/types": "^7.6.17",
"@testing-library/react": "^14.0.0",
"@types/lodash-es": "^4.17.11",
"@types/react": "^18.0.25",
Expand Down
1 change: 1 addition & 0 deletions src/gsap/hooks/useScrollAnimation/useScrollAnimation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import gsap from 'gsap';
// eslint-disable-next-line @typescript-eslint/naming-convention
import ScrollTrigger from 'gsap/ScrollTrigger';
import { useEffect, useRef, type RefObject } from 'react';
import { animations } from '../../animations.js';
Expand Down
6 changes: 4 additions & 2 deletions src/lifecycle/hooks/useBeforeMount/useBeforeMount.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import { useBeforeMount } from './useBeforeMount.js';
describe('useBeforeMount', () => {
it('should not crash', async () => {
renderHook(() => {
// eslint-disable-next-line @typescript-eslint/no-empty-function
useBeforeMount(() => {});
useBeforeMount(
// eslint-disable-next-line no-empty-function
() => {},
);
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/lifecycle/hooks/useMount/useMount.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useMount } from './useMount.js';
describe('useMount', () => {
it('should not crash', async () => {
renderHook(useMount, {
// eslint-disable-next-line @typescript-eslint/no-empty-function
// eslint-disable-next-line no-empty-function
initialProps: () => {},
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/lifecycle/hooks/useUnmount/useUnmount.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useUnmount } from './useUnmount.js';
describe('useUnmount', () => {
it('should not crash', async () => {
const { rerender, unmount } = renderHook(useUnmount, {
// eslint-disable-next-line @typescript-eslint/no-empty-function
// eslint-disable-next-line no-empty-function
initialProps: () => {},
});
rerender();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect.js';
describe('useIsomorphicLayoutEffect', () => {
it('should not crash', async () => {
renderHook(useIsomorphicLayoutEffect, {
// eslint-disable-next-line @typescript-eslint/no-empty-function
// eslint-disable-next-line no-empty-function
initialProps: () => {},
});
});
Expand Down

0 comments on commit d07eab9

Please sign in to comment.