diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-05-29 21:33:44 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-05-29 21:33:44 -0400 |
| commit | 4afdb7370dcc8df71c648eb76a7e126cb888e65c (patch) | |
| tree | 70d90bf64f5efb19997f115ee6d9317005c34473 /eslint.config.mjs | |
| download | alure-post-4afdb7370dcc8df71c648eb76a7e126cb888e65c.tar.gz alure-post-4afdb7370dcc8df71c648eb76a7e126cb888e65c.tar.bz2 alure-post-4afdb7370dcc8df71c648eb76a7e126cb888e65c.zip | |
Initial commit from Create Next App
Diffstat (limited to 'eslint.config.mjs')
| -rw-r--r-- | eslint.config.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..c85fb67 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,16 @@ +import { dirname } from "path"; +import { fileURLToPath } from "url"; +import { FlatCompat } from "@eslint/eslintrc"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = dirname(__filename); + +const compat = new FlatCompat({ + baseDirectory: __dirname, +}); + +const eslintConfig = [ + ...compat.extends("next/core-web-vitals", "next/typescript"), +]; + +export default eslintConfig; |
