-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.js
29 lines (28 loc) · 1.09 KB
/
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
27
28
29
require('./helpers').ensureDependencies([
'@next/eslint-plugin-next'
]);
module.exports = {
plugins: ['@next/next'],
rules: {
'@next/next/google-font-display': 1,
'@next/next/google-font-preconnect': 1,
'@next/next/inline-script-id': 2,
'@next/next/next-script-for-ga': 1,
'@next/next/no-assign-module-variable': 2,
'@next/next/no-before-interactive-script-outside-document': 2,
'@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, 'src/app/'],
'@next/next/no-img-element': 1,
'@next/next/no-page-custom-font': 1,
'@next/next/no-script-component-in-head': 2,
'@next/next/no-styled-jsx-in-document': 2,
'@next/next/no-sync-scripts': 2,
'@next/next/no-title-in-document-head': 2,
'@next/next/no-typos': 2,
'@next/next/no-unwanted-polyfillio': 2,
'import/extensions': 0,
}
};