forked from gajus/eslint-config-canonical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.js
26 lines (26 loc) · 774 Bytes
/
next.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports.recommended = {
plugins: {
next: require('@next/eslint-plugin-next'),
},
rules: {
'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,
},
};