Skip to content

Commit

Permalink
fix: fix modules, eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Sep 9, 2024
1 parent c61c241 commit 79ed309
Show file tree
Hide file tree
Showing 11 changed files with 441 additions and 96 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ build-storybook.log
cache

# Cache Files
.eslintjscache
.eslintmdcache
.stylelintcache
.prettiercache
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# lint and format staged files
npx lint-staged

Expand Down
1 change: 0 additions & 1 deletion apps/site/.eslintjscache

This file was deleted.

3 changes: 1 addition & 2 deletions apps/site/.storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import englishLocale from '@node-core/website-i18n/locales/en.json';
import { withThemeByDataAttribute } from '@storybook/addon-themes';
import type { Preview, ReactRenderer } from '@storybook/react';
import { NextIntlClientProvider } from 'next-intl';

import { STORYBOOK_MODES, STORYBOOK_SIZES } from '@/.storybook/constants';
import { NotificationProvider } from '@/providers/notificationProvider';

import englishLocale from '@node-core/website-i18n/locales/en.json';

import '../next.fonts';
import '../styles/index.css';

Expand Down
24 changes: 12 additions & 12 deletions apps/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"vfile-matter": "~5.0.0"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@next/eslint-plugin-next": "^14.2.8",
"@eslint/compat": "~1.1.1",
"@next/eslint-plugin-next": "~14.2.6",
"@storybook/addon-controls": "~8.2.7",
"@storybook/addon-interactions": "~8.2.7",
"@storybook/addon-themes": "~8.2.7",
Expand All @@ -104,16 +104,16 @@
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@types/semver": "~7.5.8",
"eslint": "^9.9.1",
"eslint-config-next": "~14.2.3",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.2.1",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-react": "^7.35.2",
"eslint-plugin-react-hooks": "5.1.0-rc-4c58fce7-20240904",
"eslint-plugin-storybook": "0.9.0--canary.156.da7873a.0",
"eslint": "~9.9.1",
"eslint-config-next": "~14.2.6",
"eslint-config-prettier": "~9.1.0",
"eslint-import-resolver-typescript": "~3.6.3",
"eslint-plugin-import-x": "~4.2.1",
"eslint-plugin-mdx": "~3.1.5",
"eslint-plugin-no-relative-import-paths": "~1.5.3",
"eslint-plugin-react": "~7.35.2",
"eslint-plugin-react-hooks": "~5.1.0-rc-4c58fce7-20240904",
"eslint-plugin-storybook": "~0.9.0--canary.156.da7873a.0",
"handlebars": "4.7.8",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
Loading

0 comments on commit 79ed309

Please sign in to comment.