{"version":3,"file":"nextjs.mjs","names":[],"sources":["../../../../src/presets/next/rules/nextjs.ts"],"sourcesContent":["import type { LintRules } from \"#/@types/oxlint\";\n\nconst RULES_NEXTJS_CORRECTNESS = {\n    \"nextjs/google-font-display\": \"error\",\n    \"nextjs/google-font-preconnect\": \"error\",\n    \"nextjs/inline-script-id\": \"error\",\n    \"nextjs/next-script-for-ga\": \"error\",\n    \"nextjs/no-assign-module-variable\": \"error\",\n    \"nextjs/no-async-client-component\": \"error\",\n    \"nextjs/no-before-interactive-script-outside-document\": \"error\",\n    \"nextjs/no-css-tags\": \"error\",\n    \"nextjs/no-document-import-in-page\": \"error\",\n    \"nextjs/no-duplicate-head\": \"error\",\n    \"nextjs/no-head-element\": \"error\",\n    \"nextjs/no-head-import-in-document\": \"error\",\n    \"nextjs/no-html-link-for-pages\": \"error\",\n    \"nextjs/no-img-element\": \"allow\",\n    \"nextjs/no-page-custom-font\": \"error\",\n    \"nextjs/no-script-component-in-head\": \"error\",\n    \"nextjs/no-styled-jsx-in-document\": \"error\",\n    \"nextjs/no-sync-scripts\": \"error\",\n    \"nextjs/no-title-in-document-head\": \"error\",\n    \"nextjs/no-typos\": \"error\",\n    \"nextjs/no-unwanted-polyfillio\": \"error\",\n} as const satisfies LintRules;\n\nconst RULES_NEXTJS = {\n    ...RULES_NEXTJS_CORRECTNESS,\n} as const satisfies LintRules;\n\nexport { RULES_NEXTJS, RULES_NEXTJS_CORRECTNESS };\n"],"mappings":"AAEA,MAAM,2BAA2B;CAC7B,8BAA8B;CAC9B,iCAAiC;CACjC,2BAA2B;CAC3B,6BAA6B;CAC7B,oCAAoC;CACpC,oCAAoC;CACpC,wDAAwD;CACxD,sBAAsB;CACtB,qCAAqC;CACrC,4BAA4B;CAC5B,0BAA0B;CAC1B,qCAAqC;CACrC,iCAAiC;CACjC,yBAAyB;CACzB,8BAA8B;CAC9B,sCAAsC;CACtC,oCAAoC;CACpC,0BAA0B;CAC1B,oCAAoC;CACpC,mBAAmB;CACnB,iCAAiC;AACrC;AAEA,MAAM,eAAe,EACjB,GAAG,yBACP"}