File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,7 @@ fn test() {
190
190
] ;
191
191
192
192
let fail = vec ! [
193
- r#"
194
- import Head from "next/head";
193
+ r#"import Head from "next/head";
195
194
196
195
export default Test = () => {
197
196
return (
Original file line number Diff line number Diff line change 2
2
source : crates / oxc_linter / src / tester .rs
3
3
-- -
4
4
⚠ eslint - plugin - next (google - font - display ): A font - display parameter is missing (adding ` & display=optional` is recommended ).
5
- ╭─[google_font_display .tsx :6 :16 ]
6
- 5 │ <Head >
7
- 6 │ <link
8
- · ────
9
- 7 │ href = " https://fonts.googleapis.com/css2?family=Krona+One"
5
+ ╭─[google_font_display .tsx :6 :7 ]
6
+ 5 │ <Head >
7
+ 6 │ <link
8
+ · ────
9
+ 7 │ href = " https://fonts.googleapis.com/css2?family=Krona+One"
10
10
╰────
11
11
help: See https://nextjs.org/docs/messages/google-font-display
12
12
You can’t perform that action at this time.
0 commit comments