FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
learning-platform/eslint.config.mjs at main · 100devs/learning-platform · GitHub
100devs
learning-platform
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
learning-platform
/
eslint.config.mjs
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (14 loc) · 505 Bytes
Breadcrumbs
learning-platform
/
eslint.config.mjs
Copy path
File metadata and controls
17 lines (14 loc) · 505 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import
{
dirname
}
from
"path"
;
import
{
fileURLToPath
}
from
"url"
;
import
{
FlatCompat
}
from
"@eslint/eslintrc"
;
import
{
defineConfig
}
from
"eslint/config"
;
import
eslintConfigPrettier
from
"eslint-config-prettier/flat"
;
const
__filename
=
fileURLToPath
(
import
.
meta
.
url
)
;
const
__dirname
=
dirname
(
__filename
)
;
const
compat
=
new
FlatCompat
(
{
baseDirectory
:
__dirname
,
}
)
;
export
default
defineConfig
(
[
...
compat
.
extends
(
"next/core-web-vitals"
,
"next/typescript"
)
,
eslintConfigPrettier
,
]
)
;
Back
|
FazBrowse Home
|
New Git URL