Separate Prettier and ESLint according to best practices (#9565)

* Separate Prettier and ESLint according to best practices

- Create standalone .prettierrc configuration file
- Remove eslint-plugin-prettier integration from ESLint config
- Replace with eslint-config-prettier to disable conflicting rules
- Remove eslint-plugin-prettier dependency
- Add dedicated format and format:check scripts
- Update lint-staged to run Prettier and ESLint separately
- Format entire codebase with new Prettier configuration

This follows the recommended approach from Prettier documentation:
https://prettier.io/docs/integrating-with-linters#notes

* Remove test comment

---------

Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
This commit is contained in:
codegen-sh[bot]
2025-07-08 18:01:48 -04:00
committed by GitHub
parent 68f87f7254
commit 97f8d0f265
123 changed files with 1291 additions and 1081 deletions
+6 -21
View File
@@ -9,12 +9,7 @@
"isolatedModules": true,
"baseUrl": ".",
"jsx": "react-jsx",
"lib": [
"dom",
"es2020",
"dom.iterable",
"esnext.asynciterable"
],
"lib": ["dom", "es2020", "dom.iterable", "esnext.asynciterable"],
"module": "esnext",
"moduleResolution": "node",
"noErrorTruncation": true,
@@ -30,20 +25,10 @@
"ignoreDeprecations": "5.0",
"target": "es2020",
"paths": {
"@server/*": [
"./server/*"
],
"@shared/*": [
"./shared/*"
],
"~/*": [
"./app/*"
]
"@server/*": ["./server/*"],
"@shared/*": ["./shared/*"],
"~/*": ["./app/*"]
}
},
"exclude": [
"node_modules",
"build",
"server/migrations"
]
}
"exclude": ["node_modules", "build", "server/migrations"]
}