mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-07 21:34:02 -05:00
19 lines
431 B
JavaScript
19 lines
431 B
JavaScript
import { resolve } from "path"
|
|
|
|
export const nextEslintPlugin = {
|
|
plugins: {
|
|
"@next/next": {
|
|
files: ["app/**/*", "components/**/*", "layouts/**/*"],
|
|
settings: {
|
|
next: {
|
|
rootDir: resolve("./"),
|
|
},
|
|
},
|
|
rules: {
|
|
"@next/next/no-html-link-for-pages": "off",
|
|
"@next/next/no-img-element": "warn",
|
|
"@next/next/no-sync-scripts": "error",
|
|
},
|
|
},
|
|
},
|
|
}
|