Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyme committed Sep 4, 2024
1 parent 3eeaa13 commit e4a8008
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 168 deletions.
12 changes: 5 additions & 7 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ const files = ['**/*.{js,ts,jsx,tsx}'];
export default [
gitignore(),
{
name: 'taiy.me/ignores',
ignores: [
'patches/**',
'public/**',
'pnpm-lock.yaml',
],
},
{
name: 'taiy.me/setup',
languageOptions: {
globals: {
...globals.browser,
Expand All @@ -37,8 +39,6 @@ export default [
},
parser: tsEslintParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
tsconfigRootDir: import.meta.dirname,
},
Expand All @@ -49,23 +49,21 @@ export default [
settings: {
tailwindcss: {
callees: ['clsx'],
config: 'tailwind.config.js',
config: './tailwind.config.js',
},
},
files,
},
...[
...taiymeConfig.configs.typescript,
...taiymeConfig.configs.react,
.../** @type {Config[]} */(tailwindPlugin.configs['flat/recommended']),
].map((config) => ({
...config,
files,
})),
.../** @type {Config[]} */(tailwindPlugin.configs['flat/recommended']).map((config) => ({
...config,
files,
})),
{
name: 'taiy.me/rules',
rules: {
.../** @type {Rules} */(nextPlugin.configs.recommended.rules),
.../** @type {Rules} */(nextPlugin.configs['core-web-vitals'].rules),
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@
"@eslint/compat": "^1.1.1",
"@next/eslint-plugin-next": "^14.2.7",
"@tailwindcss/container-queries": "^0.1.1",
"@taiyme/eslint-config": "^0.2.0",
"@total-typescript/ts-reset": "^0.6.0",
"@taiyme/eslint-config": "^0.3.1",
"@total-typescript/ts-reset": "^0.6.1",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.5.1",
"@types/react": "^18.3.4",
"@types/node": "^22.5.3",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@typescript-eslint/parser": "^8.4.0",
"eslint": "^9.9.1",
"eslint-config-flat-gitignore": "^0.3.0",
"eslint-config-next": "^14.2.7",
"eslint-plugin-tailwindcss": "^3.17.4",
"globals": "^15.9.0",
"postcss": "^8.4.41",
"postcss": "^8.4.45",
"postcss-load-config": "^6.0.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4"
Expand Down
Loading

0 comments on commit e4a8008

Please sign in to comment.