Skip to content

Commit

Permalink
fix: correct next config
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed May 17, 2024
1 parent fe146ac commit 050026e
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions configurations/next.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
module.exports.recommended = {
plugins: {
'@next/next': require('@next/next'),
next: require('@next/eslint-plugin-next'),
},
rules: {
'@next/next/google-font-display': 1,
'@next/next/google-font-preconnect': 1,
'@next/next/inline-script-id': 2,
'@next/next/link-passhref': 1,
'@next/next/next-script-for-ga': 1,
'@next/next/no-css-tags': 1,
'@next/next/no-document-import-in-page': 2,
'@next/next/no-duplicate-head': 2,
'@next/next/no-head-import-in-document': 2,
'@next/next/no-html-link-for-pages': 1,
'@next/next/no-img-element': 1,
'@next/next/no-page-custom-font': 1,
'@next/next/no-script-in-document': 2,
'@next/next/no-script-in-head': 2,
'@next/next/no-server-import-in-page': 2,
'@next/next/no-sync-scripts': 1,
'@next/next/no-title-in-document-head': 1,
'@next/next/no-typos': 1,
'@next/next/no-unwanted-polyfillio': 1,
'next/google-font-display': 1,
'next/google-font-preconnect': 1,
'next/inline-script-id': 2,
'next/link-passhref': 1,
'next/next-script-for-ga': 1,
'next/no-css-tags': 1,
'next/no-document-import-in-page': 2,
'next/no-duplicate-head': 2,
'next/no-head-import-in-document': 2,
'next/no-html-link-for-pages': 1,
'next/no-img-element': 1,
'next/no-page-custom-font': 1,
'next/no-script-in-document': 2,
'next/no-script-in-head': 2,
'next/no-server-import-in-page': 2,
'next/no-sync-scripts': 1,
'next/no-title-in-document-head': 1,
'next/no-typos': 1,
'next/no-unwanted-polyfillio': 1,
},
};

0 comments on commit 050026e

Please sign in to comment.