You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-9Lines changed: 26 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,24 @@
1
1
# Unreleased
2
2
3
3
- New rules `@next/next/inline-script-id`, `@next/next/no-script-in-document` and `@next/next/no-script-in-head` enabled (as warnings). For more information visit: https://nextjs.org/docs/basic-features/eslint#eslint-plugin
4
-
- Rule `@next/next/no-html-link-for-pages` has been temporarily disabled because of [internal issues](https://github.com/adeira/universe/issues/3024).
4
+
- We clarified what to do when you are using `@adeira/eslint-config/next` preset inside monorepo (check our readme). Basically, you might encounter the following warning:
5
+
6
+
```text
7
+
Pages directory cannot be found at /X/Y/Z/pages or /X/Y/Z/src/pages. If using a custom path, please configure with the no-html-link-for-pages rule in your eslint config file
8
+
```
9
+
10
+
In this case it's necessary to configure the Next.js eslint preset explicitly, for example:
For more info visit: https://nextjs.org/docs/messages/no-html-link-for-pages
5
22
6
23
# 6.4.0
7
24
@@ -13,14 +30,14 @@
13
30
14
31
- Added new optional config preset `@adeira/eslint-config/next` (for [Next.js](https://nextjs.org/) applications). This preset is not included in the default config and should be enabled explicitly for Next.js applications. For example:
15
32
16
-
```js
17
-
module.exports= {
18
-
extends: [
19
-
'@adeira/eslint-config', // this preset includes almost everything but not Next.js rules
20
-
'@adeira/eslint-config/next', // adds extra Next.js rules for your application
21
-
],
22
-
};
23
-
```
33
+
```js
34
+
module.exports= {
35
+
extends: [
36
+
'@adeira/eslint-config', // this preset includes almost everything but not Next.js rules
37
+
'@adeira/eslint-config/next', // adds extra Next.js rules for your application
0 commit comments