diff options
| author | zwlucas <lucas.oliveira1676@etec.sp.gov.br> | 2025-03-31 23:24:13 +0000 |
|---|---|---|
| committer | zwlucas <lucas.oliveira1676@etec.sp.gov.br> | 2025-03-31 23:24:13 +0000 |
| commit | 0d54368efc5e91bf1beea8961655fa77f51b3074 (patch) | |
| tree | 565050614ac4666c41b8eec20ce1ca85f4d8bb09 /eslint.config.mjs | |
| download | eleicoes-0d54368efc5e91bf1beea8961655fa77f51b3074.tar.gz eleicoes-0d54368efc5e91bf1beea8961655fa77f51b3074.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; |