Skip to content

Commit

Permalink
chore: bump eslint-plugin-react-hooks and eslint-config-next
Browse files Browse the repository at this point in the history
  • Loading branch information
var-bin committed Jan 4, 2025
1 parent cf25afe commit 03fa219
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 68 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ module.exports = {
'no-duplicate-imports': 'error',
'newline-before-return': 'error',
'comma-dangle': ['error', 'always-multiline'],

// @TODO: Temporary disabled rules due to old nextjs version
'@next/next/no-html-link-for-pages': 'off',
'@next/next/no-page-custom-font': 'off',
'@next/next/no-before-interactive-script-outside-document': 'off',
'@next/next/no-styled-jsx-in-document': 'off',
'@next/next/no-typos': 'off',
'@next/next/no-duplicate-head': 'off',
'@next/next/no-head-import-in-document': 'off',
'@next/next/no-document-import-in-page': 'off',
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
"@typescript-eslint/parser": "5.55.0",
"babel-loader": "8.3.0",
"eslint": "8.32.0",
"eslint-config-next": "13.1.6",
"eslint-config-next": "15.1.3",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-storybook": "0.6.11",
"globby": "11.0.1",
"husky": "8.0.3",
Expand Down
Loading

0 comments on commit 03fa219

Please sign in to comment.