Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
# the paths-ignore in both push and pull_request events.
# More info: https://github.com/actions/runner/issues/1182
paths-ignore:
- ".github/prompts/**"
- ".husky/**"
- ".vscode/**"
- "website/**"
Expand All @@ -19,6 +20,7 @@ on:
branches:
- "main"
paths-ignore:
- ".github/prompts/**"
- ".husky/**"
- ".vscode/**"
- "website/**"
Expand Down
3 changes: 1 addition & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.tsx"],
addons: [
"@storybook/addon-webpack5-compiler-babel",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-a11y",
"@storybook/addon-designs",
"@storybook/addon-docs",
"storybook-addon-remix-react-router"
],
framework: {
Expand Down
6 changes: 2 additions & 4 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type { Preview, StoryFn } from "@storybook/react";
// TODO: remove React import due to new JSX transform
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import React, { useEffect, useState } from "react";
import type { Preview, StoryFn } from "@storybook/react-webpack5";
import { useEffect, useState } from "react";
import { Provider } from "react-redux";
import { withRouter } from "storybook-addon-remix-react-router";
import {
Expand Down
10 changes: 1 addition & 9 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,9 @@ export default tseslint.config(
files: ["**/*.tsx"],
...reactPlugin.configs.flat["jsx-runtime"]
},
// TODO: fix types by updating "eslint-plugin-react-hooks" once the following issue is resolved
// https://github.com/facebook/react/issues/28313
// https://github.com/facebook/react/pull/30774
{
files: ["**/*.{ts,tsx}"],
plugins: {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
"react-hooks": reactHooksPlugin
},
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
rules: reactHooksPlugin.configs.recommended.rules
...reactHooksPlugin.configs["recommended-latest"]
},
storybookPlugin.configs["flat/recommended"],
eslintConfigPrettier,
Expand Down
Loading
Loading