-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f443b69
commit 668d049
Showing
13 changed files
with
386 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { GLOB_NEXTJS } from "../constants"; | ||
import { nextjsRules } from "../rules/nextjs"; | ||
import { interopDefault } from "../utils/interop-default"; | ||
|
||
export const nextjsConfig = async () => { | ||
const nextjsPlugin = await interopDefault(import("@next/eslint-plugin-next")); | ||
|
||
return [ | ||
{ | ||
files: GLOB_NEXTJS, | ||
name: "jimmy.codes/next", | ||
plugins: { | ||
"@next/next": nextjsPlugin, | ||
}, | ||
rules: await nextjsRules(), | ||
}, | ||
]; | ||
}; |
Oops, something went wrong.