forked from cardosofelipe/fast-next-template
Integrate Prettier into project configuration
- Added `eslint-config-prettier` to disable conflicting ESLint rules. - Configured Prettier with `.prettierrc` for consistent formatting. - Updated `package.json` scripts to apply and check formatting on entire project. - Added `.prettierignore` to exclude unnecessary files and directories from formatting. - Updated dependencies in `package-lock.json` and removed unused packages.
This commit is contained in:
@@ -12,6 +12,7 @@ const compat = new FlatCompat({
|
||||
const eslintConfig = [
|
||||
...compat.extends('next/core-web-vitals'),
|
||||
...compat.extends('next/typescript'),
|
||||
...compat.extends('prettier'), // Disable ESLint rules that conflict with Prettier
|
||||
{
|
||||
ignores: [
|
||||
'node_modules/**',
|
||||
|
||||
Reference in New Issue
Block a user