style: prettier format
This commit is contained in:
parent
bf4fb036c0
commit
47210601f4
6 changed files with 13 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
import { dirname } from "path";
|
||||
import { fileURLToPath } from "url";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
import { dirname } from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import { FlatCompat } from '@eslint/eslintrc';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
@ -10,7 +10,7 @@ const compat = new FlatCompat({
|
|||
});
|
||||
|
||||
const eslintConfig = [
|
||||
...compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
...compat.extends('next/core-web-vitals', 'next/typescript', 'prettier'),
|
||||
];
|
||||
|
||||
export default eslintConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue