@@ -12,50 +12,50 @@ import pluginNext from '@next/eslint-plugin-next';
1212import type { Linter } from 'eslint' ;
1313
1414export 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