Commit graph

1043 commits

Author SHA1 Message Date
JJ Kasper
780be60d23
v12.1.7-canary.15 2022-05-24 15:50:04 -05:00
JJ Kasper
18dc7e1a49
v12.1.7-canary.14 2022-05-24 13:34:36 -05:00
Tim Neutkens
e636234b2c v12.1.7-canary.13 2022-05-24 12:21:19 +02:00
JJ Kasper
b77ac14529
v12.1.7-canary.12 2022-05-23 19:29:03 -05:00
Tim Neutkens
1b4e2ccd63 v12.1.7-canary.11 2022-05-23 13:35:21 +02:00
Sharath Challa
11ad65e445
Add eslint rule for not allowing styled-jsx in _document.js (#32678)
## Bug

- [ ] Related issues linked
fixes #32656



Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-05-23 02:32:13 +00:00
JJ Kasper
6cc2147386
v12.1.7-canary.10 2022-05-19 17:11:19 -05:00
JJ Kasper
50833d009d
v12.1.7-canary.9 2022-05-19 13:06:44 -05:00
Javi Velasco
f354f46b3f
Deprecate nested Middleware in favor of root middleware (#36772)
This PR deprecates declaring a middleware under `pages` in favour of the project root naming it after `middleware` instead of `_middleware`. This is in the context of having a simpler execution model for middleware and also ships some refactor work. There is a ton of a code to be simplified after this deprecation but I think it is best to do it progressively.

With this PR, when in development, we will **fail** whenever we find a nested middleware but we do **not** include it in the compiler so if the project is using it, it will no longer work. For production we will **fail** too so it will not be possible to build and deploy a deprecated middleware. The error points to a page that should also be reviewed as part of **documentation**.

Aside from the deprecation, this migrates all middleware tests to work with a single middleware. It also splits tests into multiple folders to make them easier to isolate and work with. Finally it ships some small code refactor and simplifications.
2022-05-19 15:46:21 +00:00
JJ Kasper
5acf9db617
v12.1.7-canary.8 2022-05-18 20:35:50 -05:00
Hannes Bornö
4fd883f238
Remove optional chaining from eslint rule to support older node versions (#36978)
fixes #36693

## Bug

- [x] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
2022-05-17 17:09:31 +00:00
JJ Kasper
af86ca08e4
v12.1.7-canary.7 2022-05-17 11:01:35 -05:00
JJ Kasper
257eccb7fc
v12.1.7-canary.6 2022-05-13 10:25:27 -05:00
JJ Kasper
1ccf368f1a
v12.1.7-canary.5 2022-05-12 13:11:34 -05:00
JJ Kasper
334d42c441
v12.1.7-canary.4 2022-05-11 09:26:55 -05:00
Tim Neutkens
a1bb1c69ed v12.1.7-canary.3 2022-05-06 13:11:55 +02:00
Steven
cefb944ee5 v12.1.7-canary.2 2022-05-05 08:08:52 -04:00
JJ Kasper
87529e987c
v12.1.7-canary.1 2022-05-03 16:02:45 -05:00
Tim Neutkens
b9bf269991 v12.1.7-canary.0 2022-05-03 13:17:28 +02:00
JJ Kasper
b188fab336
v12.1.6 2022-05-02 14:46:56 -05:00
Tim Neutkens
0c23f5d1d2 v12.1.6-canary.17 2022-05-02 20:27:26 +02:00
Tim Neutkens
ddba1aab1f v12.1.6-canary.16 2022-05-01 18:58:46 +02:00
JJ Kasper
c838b5f50d
v12.1.6-canary.15 2022-04-29 11:54:57 -05:00
JJ Kasper
244456936b
v12.1.6-canary.14 2022-04-28 13:34:45 -05:00
Tim Neutkens
0b0b5ca75c v12.1.6-canary.13 2022-04-28 11:33:17 +02:00
JJ Kasper
af1d7c94f6
v12.1.6-canary.12 2022-04-27 14:23:09 -05:00
Tim Neutkens
5e3225da0f v12.1.6-canary.11 2022-04-27 18:40:33 +02:00
Tim Neutkens
5907e9d394 v12.1.6-canary.10 2022-04-27 17:34:18 +02:00
Tim Neutkens
f550da7031
Remove passhref Eslint rule as it's no longer needed with new link behavior (#36511) 2022-04-27 17:33:13 +02:00
JJ Kasper
90863c70ea
v12.1.6-canary.9 2022-04-26 15:14:22 -05:00
Tim Neutkens
52816703be v12.1.6-canary.8 2022-04-26 14:15:28 +02:00
JJ Kasper
994f1823ba
v12.1.6-canary.7 2022-04-25 19:22:10 -05:00
Steven
94faeec1dd v12.1.6-canary.6 2022-04-22 08:57:41 -04:00
Janicklas Ralph
0441f816a6
Changes to the beforeInteractive strategy to make it work for streaming (#31936)
Changes to the beforeInteractive strategy to make it work for streaming

Splitting `beforeInteractive` into two strategies `beforeInteractive` at the _document level and `beforePageRender` for page level <Scripts>
2022-04-21 21:15:53 +00:00
JJ Kasper
b8f7c520da
v12.1.6-canary.5 2022-04-21 10:07:37 -05:00
Tim Neutkens
0e2fd9280a v12.1.6-canary.4 2022-04-19 14:44:21 +02:00
JJ Kasper
e80c48e009
v12.1.6-canary.3 2022-04-16 11:15:20 -05:00
JJ Kasper
9c7311b1a5
v12.1.6-canary.2 2022-04-15 14:08:42 -05:00
Michael Ward
1be5f36123
Adds linting rule to avoid assignment to 'module' variable. Fixes #34859 (#35279) 2022-04-15 14:45:53 +02:00
JJ Kasper
6907519155
v12.1.6-canary.1 2022-04-14 10:23:58 -05:00
JJ Kasper
bc40c0b530
v12.1.6-canary.0 2022-04-13 12:45:39 -05:00
JJ Kasper
38d17bca0c
v12.1.5 2022-04-12 14:40:16 -05:00
JJ Kasper
9c613aaa66
v12.1.5-canary.7 2022-04-12 13:35:53 -05:00
JJ Kasper
a9d6d9f71a
v12.1.5-canary.6 2022-04-11 16:27:07 -05:00
JJ Kasper
da39e29c27
v12.1.5-canary.5 2022-04-11 12:00:35 -05:00
JJ Kasper
345f5cc351
v12.1.5-canary.4 2022-04-07 11:41:10 -05:00
JJ Kasper
211ce73c87
v12.1.5-canary.3 2022-04-06 13:34:56 -05:00
JJ Kasper
e146168c3b
v12.1.5-canary.2 2022-04-05 18:34:29 -05:00
JJ Kasper
4db8c49cc3
v12.1.5-canary.1 2022-04-04 10:29:32 -05:00
JJ Kasper
3069d4b770
v12.1.5-canary.0 2022-03-31 18:27:09 -05:00
Tim Neutkens
48a3222ccc v12.1.4 2022-03-31 08:58:14 +02:00
JJ Kasper
09ac22ff28
v12.1.4-canary.1 2022-03-30 21:21:00 -05:00
JJ Kasper
2f11413448
v12.1.4-canary.0 2022-03-30 17:28:11 -05:00
Tim Neutkens
7eee27f9ed v12.1.3 2022-03-30 21:49:00 +02:00
Tim Neutkens
bb918fd321 v12.1.3-canary.4 2022-03-30 20:52:45 +02:00
Tim Neutkens
2269f03af0 v12.1.3-canary.3 2022-03-30 18:34:13 +02:00
Tim Neutkens
eef557d4f8 v12.1.3-canary.2 2022-03-30 15:16:01 +02:00
Tim Neutkens
d876667aef v12.1.3-canary.1 2022-03-30 14:31:26 +02:00
hiro
a00268e70f
Fix typos (#35683)
* fix(typo): wolrd -> world

* fix(typo): _lineNumer -> _lineNumber

* fix(typo): Dyanmic -> Dynamic

* fix(typo): mutliple -> multiple

* fix(typo): dyanmic -> dynamic

* fix(typo): speical -> special

* fix(typo): acceptible -> acceptable

* fix(typo): dyanmic -> dynamic

* fix(typo): nonexistant -> nonexistent

* fix(typo): nonexistant -> nonexistent

* fix(typo): nonexistant -> nonexistent

* fix(typo): nonexistant -> nonexistent

* fix(typo): nonexistant -> nonexistent

* fix(typo): nonexistant -> nonexistent

* fix(typo): accesible -> accessible

* fix(typo): explicitely -> explicitly
2022-03-28 22:53:51 -05:00
JJ Kasper
88a7e58406
v12.1.3-canary.0 2022-03-28 18:33:56 -05:00
JJ Kasper
50be7cc17d
v12.1.2 2022-03-28 13:56:02 -05:00
JJ Kasper
825425494a
v12.1.2-canary.1 2022-03-28 13:08:22 -05:00
JJ Kasper
086cf91ada
v12.1.2-canary.0 2022-03-26 22:32:33 -05:00
JJ Kasper
79a8651bc4
v12.1.1 2022-03-25 11:45:19 -05:00
JJ Kasper
a5540e8fda
v12.1.1-canary.18 2022-03-25 10:32:52 -05:00
Steven
78831c3c84 v12.1.1-canary.17 2022-03-22 09:00:31 -04:00
JJ Kasper
92da36f1e0
v12.1.1-canary.16 2022-03-21 18:33:48 -05:00
Jiachi Liu
f62766f364 v12.1.1-canary.15 2022-03-18 11:25:16 +01:00
JJ Kasper
9129bb9a05
v12.1.1-canary.14 2022-03-17 12:51:26 -05:00
JJ Kasper
52e34cede8
v12.1.1-canary.13 2022-03-16 18:46:19 -05:00
JJ Kasper
4c6443ba1c
v12.1.1-canary.12 2022-03-16 11:23:01 -05:00
Steven
6611bfd31c v12.1.1-canary.11 2022-03-14 10:26:50 -04:00
JJ Kasper
d7deb852bd
v12.1.1-canary.10 2022-03-11 08:53:10 -06:00
Steven
ceb7bfb29d v12.1.1-canary.9 2022-03-10 08:22:40 -08:00
Jiachi Liu
21994ce591 v12.1.1-canary.8 2022-03-09 14:06:29 +01:00
Jiachi Liu
c130fd67be v12.1.1-canary.7 2022-03-07 22:47:55 +01:00
JJ Kasper
1b17070a29
v12.1.1-canary.6 2022-03-02 12:12:15 -08:00
JJ Kasper
abed2f7334
v12.1.1-canary.5 2022-03-01 09:56:23 -08:00
JJ Kasper
ec2a88516d
v12.1.1-canary.4 2022-02-25 18:48:08 -08:00
Tim Neutkens
aecfe4dc49 v12.1.1-canary.3 2022-02-25 11:15:18 +01:00
Sukka
3ee458e376
fix(#34030): ignore non-checkable jsx spread attribute (#34473)
## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

Fixes #34030.

The PR is still WIP as the test case hasn't been added, help or change is welcome.

cc @no-ya @ijjk 

Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-02-25 04:15:25 +00:00
JJ Kasper
b8b9d3f663
v12.1.1-canary.2 2022-02-23 18:34:34 -08:00
JJ Kasper
4613e3be62
v12.1.1-canary.1 2022-02-18 17:19:57 -06:00
JJ Kasper
44bc4d92f5
v12.1.1-canary.0 2022-02-18 12:02:13 -06:00
JJ Kasper
8545fd1bb0
v12.1.0 2022-02-17 09:34:51 -06:00
JJ Kasper
1605f3059c
v12.0.11-canary.21 2022-02-17 09:21:51 -06:00
JJ Kasper
49da8c016c
v12.0.11-canary.20 2022-02-16 17:53:02 -06:00
JJ Kasper
732b4052bd
v12.0.11-canary.19 2022-02-16 14:36:59 -06:00
JJ Kasper
07fe5412c7
v12.0.11-canary.18 2022-02-16 09:38:38 -06:00
JJ Kasper
4f05426053
v12.0.11-canary.17 2022-02-15 14:34:59 -06:00
Tim Neutkens
019981882d v12.0.11-canary.16 2022-02-15 19:16:53 +01:00
JJ Kasper
c051af8528
v12.0.11-canary.15 2022-02-11 15:36:59 -06:00
Jiachi Liu
76d274dbec v12.0.11-canary.14 2022-02-11 20:58:23 +01:00
JJ Kasper
516e113d25
v12.0.11-canary.13 2022-02-11 10:26:38 -06:00
JJ Kasper
8060bcb38c
v12.0.11-canary.12 2022-02-10 11:59:04 -06:00
JJ Kasper
f7eaf006c0
v12.0.11-canary.11 2022-02-09 13:26:12 -06:00
Steven
228640eedd v12.0.11-canary.10 2022-02-09 09:17:49 -05:00
Jiachi Liu
c735de8550 v12.0.11-canary.9 2022-02-08 22:46:00 +01:00
JJ Kasper
d416cd85b5
v12.0.11-canary.8 2022-02-07 22:00:39 -06:00
JJ Kasper
938eb0e28c
v12.0.11-canary.7 2022-02-06 19:10:52 -06:00
JJ Kasper
f322d62639
v12.0.11-canary.6 2022-02-04 17:02:00 -06:00
JJ Kasper
502a869a68
v12.0.11-canary.5 2022-02-04 11:15:32 -06:00
Kara
61ea8efe42
Warn in dev mode when script tags are added with next/head (#33968)
This commit adds a development mode warning in the console
if you try to include <script> tags in next/head, e.g.

```
<Head>
  <script async src="..." />
</Head>
```

The warning message explains that this pattern will not
work well with Suspense/streaming and recommends using the
next/script component instead.

TODO in follow-up PR: add same warning for stylesheets, etc

## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [x] Integration tests added
- [x] Documentation added
- [x] Errors have helpful link attached, see `contributing.md`
2022-02-04 13:06:55 +00:00
JJ Kasper
740f908aa4
v12.0.11-canary.4 2022-02-03 13:18:41 -06:00
stefanprobst
49afcd4871
fix: handle jsxspreadattribute in inline-script-id eslint rule (#32421)
fixes #32178

the `inline-script-id` eslint rule crashed when encountering a `JSXSpreadAttribute`. this pr fixes that, and also handles `id` being passed via the spreaded object.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] ~~Integration~~ Unit tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-02-02 23:04:22 +00:00
Steven
abae663f2b v12.0.11-canary.3 2022-02-02 17:29:18 -05:00
JJ Kasper
aae0370d63
v12.0.11-canary.2 2022-02-02 13:32:35 -06:00
JJ Kasper
39d3210776
v12.0.11-canary.1 2022-02-01 17:01:29 -06:00
JJ Kasper
dd486602b6
v12.0.11-canary.0 2022-02-01 14:05:04 -06:00
Stoyan Delev
a7793c7a0c
fix eslint link-passhref rule (#33857) 2022-02-01 12:53:55 -06:00
JJ Kasper
4c28177c15
v12.0.10 2022-01-31 19:52:18 -06:00
Steven
94989461ff v12.0.10-canary.2 2022-01-31 19:14:21 -05:00
Steven
48dee57ff5 v12.0.10-canary.1 2022-01-28 18:51:51 -05:00
JJ Kasper
b314c9886c
v12.0.10-canary.0 2022-01-27 16:50:54 -06:00
JJ Kasper
07431d3e0f
v12.0.9 2022-01-26 16:01:19 -06:00
JJ Kasper
c938e20077
v12.0.9-canary.12 2022-01-26 15:10:58 -06:00
JJ Kasper
865a079923
v12.0.9-canary.11 2022-01-26 10:31:07 -06:00
Tim Neutkens
65c63c9434 v12.0.9-canary.10 2022-01-26 12:00:50 +01:00
JJ Kasper
8d1c58525c
v12.0.9-canary.9 2022-01-25 10:53:28 -06:00
JJ Kasper
f60a480771
v12.0.9-canary.8 2022-01-24 16:30:26 -06:00
JJ Kasper
3329ac6460
v12.0.9-canary.7 2022-01-24 13:14:25 -06:00
JJ Kasper
2a349c769d
v12.0.9-canary.6 2022-01-21 15:55:00 -06:00
Tim Neutkens
8959292d2b v12.0.9-canary.5 2022-01-21 15:42:22 +01:00
Tim Neutkens
96057c8f67 v12.0.9-canary.4 2022-01-20 09:57:25 +01:00
JJ Kasper
2fd17ba1f8
v12.0.9-canary.3 2022-01-19 16:09:37 -06:00
Tim Neutkens
82f3233c0c v12.0.9-canary.2 2022-01-19 09:16:10 +01:00
Tim Neutkens
45eb137a89 v12.0.9-canary.1 2022-01-18 16:42:03 +01:00
JJ Kasper
7db6aa2fde
v12.0.9-canary.0 2022-01-13 15:19:42 -06:00
Tim Neutkens
d7a96d22be v12.0.8 2022-01-12 09:14:02 +01:00
Tim Neutkens
df0e89984e v12.0.8-canary.22 2022-01-12 09:09:32 +01:00
JJ Kasper
0de84472eb
v12.0.8-canary.21 2022-01-11 15:00:27 -06:00
JJ Kasper
3eabb7f4c7
v12.0.8-canary.20 2022-01-10 14:59:41 -06:00
JJ Kasper
aeb67cc28d
v12.0.8-canary.19 2022-01-06 11:09:32 -06:00
JJ Kasper
5680007fa2
v12.0.8-canary.18 2022-01-05 13:49:39 -06:00
JJ Kasper
cfa8ab9cbf
v12.0.8-canary.17 2022-01-04 15:29:37 -06:00
JJ Kasper
69a56759ee
v12.0.8-canary.16 2022-01-03 18:58:27 -06:00
JJ Kasper
5378db8f80
v12.0.8-canary.15 2022-01-03 15:46:09 -06:00
JJ Kasper
381ca374e5
v12.0.8-canary.14 2022-01-02 16:36:23 -06:00
Houssein Djirdeh
d72f5bd69d
[ESLint] Adds lint rule to flag usage of <head> (#32897)
## Bug

- [X] Related issues linked using `fixes #number`
- [X] Tests added
- [X] Errors have helpful link attached, see `contributing.md`

Fixes #30142
2021-12-31 05:09:44 +00:00
Joost De Cock
34dcede690
fix(eslint-plugin-next): Broken links in eslint output (#32837)
This fixes broken links in the eslint output by removing the trailing full stop.
It also makes the formatting of (the output of) the various rules consistent.

## Documentation / Examples

- [x] Make sure the linting passes by running `yarn lint`

> I don't think this is a bug, nor a feature, nor is it really documentation. 
> It's just a small nuisance that I bumped into and felt compelled to fix.
> I went with documentation as that seems the closest match

## What does this pull request do?

The elslint output of `eslint-plugin-next` contains useful links to the documentation about the various rules.
Unfortunately, on most (but not all) rules, those links are immediately followed by a full stop (`.`).

The terminal (or any parser) has no way of knowing that the full stop is not part of the URL. 
So it includes it and clicking the link leads to a 404 on the nextjs.org website.
 
![eslint](https://user-images.githubusercontent.com/1708494/147452577-43ad4ce7-df75-4d48-ab78-70b9b8212b7e.png)

This PR fixes that by removing the full stop. 

## But a final full stop is better grammar

I considered alternatives (such as [a zero-width space character](https://en.wikipedia.org/wiki/Zero-width_space#Prohibited_in_URLs)) in case the final full stop was part of the style guide or something.

However, as I went through the eslint rules, I notices that the messages for various rules were formatted inconsistently. 
Some with final full stop, some without.

As such, I made the all consistent with this structure:

> [message]. See: [url]

I feel this is a better solution than using the zero-width space as these sort of invisible characters 
in code can be a red flag that something fishy is going on.

I submit this pull request in the hope it will be useful, and a positive contribution to a project I have a great deal of appreciation for.
That being said, I fully understand if people would consider this a non-issue.
2021-12-28 02:18:39 +00:00
Balázs Orbán
4e345f6677
feat(eslint): allow a for internal url when target="blank" present (#32780)
When an `a` tag is used to link to an internal page, but the `target="_blank"` attribute is present, ESLint should not report it as an error and should not enforce using `next/link`.

Fixes #28547

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2021-12-25 00:55:43 +00:00
JJ Kasper
265f71e225
v12.0.8-canary.13 2021-12-22 13:03:32 -06:00
JJ Kasper
d85e5ab48e
v12.0.8-canary.12 2021-12-21 14:46:52 -06:00
JJ Kasper
725f6b44d6
v12.0.8-canary.11 2021-12-20 09:28:17 -06:00
JJ Kasper
3e83205eab
v12.0.8-canary.10 2021-12-17 20:24:59 -06:00
JJ Kasper
d7811d3207
v12.0.8-canary.9 2021-12-17 15:47:01 -06:00
Tim Neutkens
e90f0aec7a v12.0.8-canary.8 2021-12-16 14:50:34 +01:00
JJ Kasper
f221f8857d
v12.0.8-canary.7 2021-12-15 13:31:38 -06:00
Tim Neutkens
12bb1b1da2 v12.0.8-canary.6 2021-12-14 18:05:17 +01:00
JJ Kasper
48cee5485a
v12.0.8-canary.5 2021-12-13 13:07:44 -06:00
JJ Kasper
83e661031c
v12.0.8-canary.4 2021-12-10 10:08:40 -06:00
JJ Kasper
7e055dddbb
v12.0.8-canary.3 2021-12-08 18:01:57 -06:00
JJ Kasper
345956f1d2
v12.0.8-canary.2 2021-12-08 10:58:41 -06:00
Bryan Smith
b7eeb6c582
Fix crash in no-page-custom-font eslint rule when default export is unnamed. (#32251)
fixes #32250
2021-12-07 19:04:24 +00:00
JJ Kasper
2e530ee299
v12.0.8-canary.1 2021-12-06 20:49:13 -06:00
Tim Neutkens
0f0c28a45f v12.0.8-canary.0 2021-12-05 15:44:48 +01:00
Thibaut SABOT
5b4e139dde
Fix no-server-import-in-page eslint rule for subfolder middleware (#32139)
People have been reporting on https://github.com/vercel/next.js/pull/30973 that the `no-server-import-in-page` eslint rule is reporting false positives for `_middleware` files inside sub-page folders.

Unlike `_document`, we can have multiple `_middleware` files.

Fixes #32121
2021-12-05 14:41:10 +00:00
JJ Kasper
ebf509539c
v12.0.7 2021-12-04 18:21:43 -06:00
JJ Kasper
1e21c7df13
v12.0.7-canary.0 2021-12-04 17:03:15 -06:00
Tim Neutkens
56c68dba51 v12.0.6 2021-12-04 13:12:21 +01:00
Tim Neutkens
e257dbfad5 v12.0.6-canary.0 2021-12-04 11:26:57 +01:00
JJ Kasper
b6162bb6b6
v12.0.5 2021-12-03 16:45:00 -06:00
JJ Kasper
1705020808
v12.0.5-canary.19 2021-12-03 15:32:42 -06:00
JJ Kasper
b194664d8d
v12.0.5-canary.18 2021-12-03 13:25:35 -06:00
Tim Neutkens
e58e7b17aa v12.0.5-canary.17 2021-12-03 19:22:03 +01:00
Tim Neutkens
41f87abdf7 v12.0.5-canary.16 2021-12-03 12:30:59 +01:00
Tim Neutkens
c1f6abbe54 v12.0.5-canary.15 2021-12-03 12:30:14 +01:00
JJ Kasper
5763a33a03
v12.0.5-canary.14 2021-12-02 14:55:53 -06:00
JJ Kasper
32ac918672
v12.0.5-canary.13 2021-12-01 10:07:32 -06:00
JJ Kasper
4410de9ff3
v12.0.5-canary.12 2021-11-30 13:33:32 -06:00
JJ Kasper
3b089ae18f
v12.0.5-canary.11 2021-11-29 16:18:39 -06:00
Thibaut SABOT
922a1fd005
include no-document-import-in-page rule in plugin index (#31890)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-11-29 16:09:17 +01:00
Jeremy Monson
9b9023b304
bugfix: href value is not defined when typing out the href (#31813) 2021-11-26 17:32:52 +01:00
Gerrit Alex
d38dd3d7e6
fix: support function components in _document in no-page-custom-font (#31560) 2021-11-26 14:27:13 +01:00
Tim Neutkens
b2acdbb788 v12.0.5-canary.10 2021-11-25 20:45:30 +01:00
Tim Neutkens
e95c9caca3 v12.0.5-canary.9 2021-11-23 18:51:52 +01:00
Tim Neutkens
21cb8a1fe8 v12.0.5-canary.8 2021-11-21 15:51:15 +01:00
Tim Neutkens
ba89d204e8 v12.0.5-canary.7 2021-11-21 13:07:17 +01:00
Tim Neutkens
ad6ef01edc v12.0.5-canary.6 2021-11-20 20:27:02 +01:00
JJ Kasper
9652bdd653
v12.0.5-canary.5 2021-11-19 14:44:42 -06:00
Nils Kaspersson
d1ce7b7c58
[ESLint] Prevent no-html-link-for-pages from warning for static files (#31495)
The rule [`no-html-link-for-pages`](https://nextjs.org/docs/messages/no-html-link-for-pages) will incorrectly flag an `<a>`-tag intended to download a local asset. This PR adds an exception to the rule for any anchor element with a `download` attribute.

Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2021-11-19 03:39:36 +00:00
jj@jjsweb.site
a363a4ff6c
v12.0.5-canary.4 2021-11-18 16:30:23 -06:00
jj@jjsweb.site
01cf08e288
v12.0.5-canary.3 2021-11-18 09:25:26 -06:00
jj@jjsweb.site
2a5e605ab3
v12.0.5-canary.2 2021-11-17 20:33:04 -06:00
jj@jjsweb.site
eaf6e27deb
v12.0.5-canary.1 2021-11-17 17:15:04 -06:00
jj@jjsweb.site
2ad9dac873
v12.0.5-canary.0 2021-11-16 16:48:33 -06:00
jj@jjsweb.site
abd87a515e
v12.0.4 2021-11-15 14:43:54 -06:00
jj@jjsweb.site
b204640008
v12.0.4-canary.15 2021-11-15 14:07:57 -06:00
jj@jjsweb.site
66d9b4e14a
v12.0.4-canary.14 2021-11-15 12:54:42 -06:00
Tim Neutkens
e5171758d3 v12.0.4-canary.13 2021-11-15 14:19:55 +01:00
Tim Neutkens
8c84b4a1b6 v12.0.4-canary.12 2021-11-15 09:42:05 +01:00
Tim Neutkens
950eb0f489 v12.0.4-canary.11 2021-11-13 18:26:43 +01:00
Thibaut SABOT
d1adf1d503
Add eslint rule to prevent importing next/server outside of _middleware (#30973)
* Add eslint rule to prevent importing next/server outside of _middleware

* add error to manifest.json

Co-authored-by: Javi Velasco <javier.velasco86@gmail.com>
2021-11-12 17:44:39 -06:00
Tim Neutkens
d9fc3eeb7e v12.0.4-canary.10 2021-11-12 21:54:01 +01:00
jj@jjsweb.site
51ad2542bb
v12.0.4-canary.9 2021-11-11 14:20:30 -06:00
Tim Neutkens
fbe366f465 v12.0.4-canary.8 2021-11-11 16:36:38 +01:00
Tim Neutkens
7aabcda66e v12.0.4-canary.7 2021-11-11 16:31:33 +01:00
Tim Neutkens
0ae94488f3 v12.0.4-canary.6 2021-11-11 12:06:30 +01:00
Tim Neutkens
dfff685207 v12.0.4-canary.5 2021-11-11 09:21:54 +01:00
jj@jjsweb.site
7087adba12
v12.0.4-canary.4 2021-11-09 15:47:35 -06:00
Tim Neutkens
31985c5cae v12.0.4-canary.3 2021-11-09 17:18:40 +01:00
Tim Neutkens
bcf25289de v12.0.4-canary.2 2021-11-09 15:42:12 +01:00
Tim Neutkens
a0a08ae9e5 v12.0.4-canary.1 2021-11-09 12:49:23 +01:00
jj@jjsweb.site
2a801809bb
v12.0.4-canary.0 2021-11-08 09:52:15 -06:00
Tim Neutkens
e2506411a1 v12.0.3 2021-11-05 19:04:04 +01:00
Tim Neutkens
4329b7f2b5 v12.0.3-canary.10 2021-11-05 16:05:32 +01:00
jj@jjsweb.site
4b6cea2e48
v12.0.3-canary.9 2021-11-04 20:45:02 -05:00
Tim Neutkens
9da6cf2541 v12.0.3-canary.8 2021-11-04 17:22:44 +01:00
Tim Neutkens
5684edb36f v12.0.3-canary.7 2021-11-04 13:13:21 +01:00
Tim Neutkens
0bead091be v12.0.3-canary.6 2021-11-04 11:30:52 +01:00
jj@jjsweb.site
c6c240302b
v12.0.3-canary.5 2021-11-03 18:36:15 -05:00
jj@jjsweb.site
00c491cecd
v12.0.3-canary.4 2021-11-03 16:59:36 -05:00
jj@jjsweb.site
f1f498ef28
v12.0.3-canary.3 2021-11-03 15:18:12 -05:00
jj@jjsweb.site
5f19f766fd
v12.0.3-canary.2 2021-11-02 21:19:41 -05:00
Tim Neutkens
bc7a0be64a v12.0.3-canary.1 2021-11-02 12:22:31 +01:00
Tim Neutkens
c6b98d59c7 v12.0.3-canary.0 2021-11-02 09:26:26 +01:00
Tim Neutkens
99abb8bfd7 v12.0.2 2021-10-31 15:55:15 +01:00
Tim Neutkens
98287900d0 v12.0.2-canary.14 2021-10-31 14:35:36 +01:00
jj@jjsweb.site
02e0dbc3c2
v12.0.2-canary.13 2021-10-30 18:20:25 -05:00
Tim Neutkens
90fad00dfe v12.0.2-canary.12 2021-10-30 15:56:45 +02:00
jj@jjsweb.site
c730f7312e
v12.0.2-canary.11 2021-10-29 23:46:57 -05:00
jj@jjsweb.site
aa70f46017
v12.0.2-canary.10 2021-10-29 17:51:30 -05:00
jj@jjsweb.site
c53eaac940
v12.0.2-canary.9 2021-10-29 11:56:29 -05:00
jj@jjsweb.site
d03ce161ab
v12.0.2-canary.8 2021-10-28 19:39:00 -05:00
jj@jjsweb.site
ee062aee20
v12.0.2-canary.7 2021-10-28 16:07:34 -05:00
jj@jjsweb.site
7232415081
v12.0.2-canary.6 2021-10-28 12:00:00 -05:00
Tobias Koppers
ac58857d7d v12.0.2-canary.5 2021-10-28 17:08:30 +02:00
Tobias Koppers
0d924ca025 v12.0.2-canary.4 2021-10-28 15:17:08 +02:00
Tim Neutkens
88131eb704 v12.0.2-canary.3 2021-10-28 10:17:16 +02:00
Tim Neutkens
207e8add0e v12.0.2-canary.2 2021-10-27 19:48:49 +02:00
Tobias Koppers
02ba241105 v12.0.2-canary.1 2021-10-27 17:16:48 +02:00
Tim Neutkens
ecc7f6f86a v12.0.2-canary.0 2021-10-27 16:31:15 +02:00
jj@jjsweb.site
ff926d5c1b
v12.0.1 2021-10-26 20:59:41 -05:00
jj@jjsweb.site
6467de14b2
v12.0.1-canary.5 2021-10-26 20:02:05 -05:00
jj@jjsweb.site
89e244ec41
v12.0.1-canary.4 2021-10-26 18:56:13 -05:00
Jiachi Liu
da1f8adfef v12.0.1-canary.3 2021-10-26 22:26:30 +02:00
jj@jjsweb.site
17c91ccb8c
v12.0.1-canary.2 2021-10-26 13:14:23 -05:00
jj@jjsweb.site
0d236f7380
v12.0.1-canary.1 2021-10-26 11:52:16 -05:00
jj@jjsweb.site
da2bb52349
v12.0.1-canary.0 2021-10-26 11:33:21 -05:00
jj@jjsweb.site
8a450db14a
v12.0.0 2021-10-26 10:35:23 -05:00
Tim Neutkens
b127efa936 v11.1.3-canary.105 2021-10-26 17:08:23 +02:00
Maia Teegarden
5a206e528c
v11.1.3-canary.104 2021-10-25 19:32:21 -07:00
Maia Teegarden
697704d998
v11.1.3-canary.103 2021-10-25 19:03:11 -07:00
jj@jjsweb.site
cc4857f3ab
v11.1.3-canary.102 2021-10-25 19:58:13 -05:00
jj@jjsweb.site
04296cef4a
v11.1.3-canary.101 2021-10-25 15:17:00 -05:00
jj@jjsweb.site
9d280afb86
v11.1.3-canary.100 2021-10-24 20:06:36 -05:00
jj@jjsweb.site
1e82a3f2ec
v11.1.3-canary.99 2021-10-24 17:28:37 -05:00
Tim Neutkens
93e3c378bc v11.1.3-canary.98 2021-10-24 15:58:17 +02:00
Tim Neutkens
45c7beff3a v11.1.3-canary.97 2021-10-23 11:11:52 +02:00
Steven
7dbbc9d262 v11.1.3-canary.96 2021-10-22 23:08:42 -04:00