diff options
author | 2025-05-28 16:30:40 +0530 | |
---|---|---|
committer | 2025-05-28 16:35:58 +0530 | |
commit | fca2c25e12f5891e61f92e08815ddaa554f077d1 (patch) | |
tree | ae26861e30ecaf4611c20d4eca1d1922a011f7af /frontend/eslint.config.mjs | |
parent | a92719db37afc5cdf375f3ad5ce8e9602450ab2d (diff) | |
download | blcklst-fca2c25e12f5891e61f92e08815ddaa554f077d1.tar.gz blcklst-fca2c25e12f5891e61f92e08815ddaa554f077d1.tar.bz2 blcklst-fca2c25e12f5891e61f92e08815ddaa554f077d1.zip |
feat: added frontpage layout
Diffstat (limited to 'frontend/eslint.config.mjs')
-rw-r--r-- | frontend/eslint.config.mjs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs new file mode 100644 index 0000000..c85fb67 --- /dev/null +++ b/frontend/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; |