-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
18 lines (18 loc) · 919 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"extends": ["next", "next/core-web-vitals"],
"rules": {
// Fixes a bug in which "css" was being stated as an un-used / unknown property
"react/no-unknown-property": "off",
// Fixes the "Comments inside children section of tag should be placed inside braces" error
"react/jsx-no-comment-textnodes": 0, // Turn off this rule
// Since some fonts are only needed on some pages. e.g. Newsreader is only
// used on post and profile pages, would be wasteful to include it on the
// dashboard page.
"@next/next/no-page-custom-font": "off",
// The only places we use <img> are for user's profile pictures. Those are
// provided throught firebase's oauth providers, meaning we can never know
// their host to add to our <Image> configuration.
"@next/next/no-img-element": "off",
"react/no-unescaped-entities": 0
}
}