Skip to content

Commit fe06f39

Browse files
committed
chore: ๐Ÿ”จ [UPDATE] @next/eslint-plugin-next์˜ ESLint 9 ์ง€์› ๋ฏธ๋น„๋กœ ์ธํ•œ ๋Œ€์‘
1 parent 2e97111 commit fe06f39

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

โ€Žsrc/next/index.tsโ€Ž

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,50 +12,50 @@ import pluginNext from '@next/eslint-plugin-next';
1212
import type { Linter } from 'eslint';
1313

1414
export default {
15-
plugins: { '@next': pluginNext },
15+
plugins: { '@next/next': pluginNext },
1616
rules: {
1717
// font-display ์„ค์ •์„ ํ†ตํ•œ ํฐํŠธ ๋กœ๋“œ ์ œ์–ด ๋ฐฉ์‹ ๊ฐ•์ œ
18-
'@next/google-font-display': 'error',
18+
'@next/next/google-font-display': 'error',
1919
// Google Fonts pre-load ๊ฐ•์ œ
20-
'@next/google-font-preconnect': 'error',
20+
'@next/next/google-font-preconnect': 'error',
2121
// ์ธ๋ผ์ธ script id ๊ฐ•์ œ
22-
'@next/inline-script-id': 'error',
22+
'@next/next/inline-script-id': 'error',
2323
// GA ์ ์šฉ ์‹œ next/script ์‚ฌ์šฉ ๊ฐ•์ œ
24-
'@next/next-script-for-ga': 'error',
24+
'@next/next/next-script-for-ga': 'error',
2525
// ๋ชจ๋“ˆ ๋ณ€์ˆ˜ ํ• ๋‹น ๋ฐฉ์ง€
26-
'@next/no-assign-module-variable': 'error',
26+
'@next/next/no-assign-module-variable': 'error',
2727
// ๋น„๋™๊ธฐ CSR ์ปดํฌ๋„ŒํŠธ ๋ฐฉ์ง€
28-
'@next/no-async-client-component': 'error',
28+
'@next/next/no-async-client-component': 'error',
2929
// beforeInteractive ์Šคํฌ๋ฆฝํŠธ๋Š” head ์•ˆ์— ์œ„์น˜ํ•˜๋„๋ก ๊ฐ•์ œ
30-
'@next/no-before-interactive-script-outside-document': 'error',
30+
'@next/next/no-before-interactive-script-outside-document': 'error',
3131
// style ํƒœ๊ทธ ๋ฐฉ์ง€
32-
'@next/no-css-tags': 'error',
32+
'@next/next/no-css-tags': 'error',
3333
// document ์ปดํฌ๋„ŒํŠธ import ๋ฐฉ์ง€
34-
'@next/no-document-import-in-page': 'error',
34+
'@next/next/no-document-import-in-page': 'error',
3535
// ํ—ค๋“œ ์ค‘๋ณต ๋ฐฉ์ง€
36-
'@next/no-duplicate-head': 'error',
36+
'@next/next/no-duplicate-head': 'error',
3737
// head ๋Œ€์‹  next/head ์‚ฌ์šฉ ๊ฐ•์ œ
38-
'@next/no-head-element': 'error',
38+
'@next/next/no-head-element': 'error',
3939
// _document์—์„œ next/head ์‚ฌ์šฉ ๋ฐฉ์ง€
40-
'@next/no-head-import-in-document': 'error',
40+
'@next/next/no-head-import-in-document': 'error',
4141
// next/link ์‚ฌ์šฉ ๊ฐ•์ œ
42-
'@next/no-html-link-for-pages': 'error',
42+
'@next/next/no-html-link-for-pages': 'error',
4343
// next/image ์‚ฌ์šฉ ๊ฐ•์ œ
44-
'@next/no-img-element': 'error',
44+
'@next/next/no-img-element': 'error',
4545
// ํŽ˜์ด์ง€ ๋‚ด ํฐํŠธ ์„ค์ • ๋ฐฉ์ง€
46-
'@next/no-page-custom-font': 'error',
46+
'@next/next/no-page-custom-font': 'error',
4747
// next/head ๋‚ด์— next/script ์ปดํฌ๋„ŒํŠธ ์‚ฌ์šฉ ๋ฐฉ์ง€
48-
'@next/no-script-component-in-head': 'error',
48+
'@next/next/no-script-component-in-head': 'error',
4949
// _document ๋‚ด์— styled-jsx ์„ ์–ธ ๋ฐฉ์ง€
50-
'@next/no-styled-jsx-in-document': 'error',
50+
'@next/next/no-styled-jsx-in-document': 'error',
5151
// ๋น„๋™๊ธฐ script ๊ฐ•์ œ
52-
'@next/no-sync-scripts': 'error',
52+
'@next/next/no-sync-scripts': 'error',
5353
// ํŽ˜์ด์ง€๋ณ„ title์€ next/head๋ฅผ ์‚ฌ์šฉํ•˜๋„๋ก ๊ฐ•์ œ
54-
'@next/no-title-in-document-head': 'error',
54+
'@next/next/no-title-in-document-head': 'error',
5555
// ์˜คํƒ€ ๋ฐฉ์ง€
56-
'@next/no-typos': 'error',
56+
'@next/next/no-typos': 'error',
5757
// ๋ถˆํ•„์š”ํ•œ Polyfill.io ์Šคํฌ๋ฆฝํŠธ ๋ฐฉ์ง€
58-
'@next/no-unwanted-polyfillio': 'error'
58+
'@next/next/no-unwanted-polyfillio': 'error'
5959

6060
}
6161
} satisfies Linter.Config;

0 commit comments

Comments
ย (0)