mirror of
https://github.com/outline/outline.git
synced 2025-12-30 15:30:12 -06:00
* 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>
35 lines
959 B
JSON
35 lines
959 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"baseUrl": ".",
|
|
"jsx": "react-jsx",
|
|
"lib": ["dom", "es2020", "dom.iterable", "esnext.asynciterable"],
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"noErrorTruncation": true,
|
|
"noImplicitAny": true,
|
|
"noImplicitOverride": false,
|
|
"noImplicitReturns": true,
|
|
"noImplicitThis": false,
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true,
|
|
"strictNullChecks": true,
|
|
"noEmit": true,
|
|
"skipLibCheck": true,
|
|
"ignoreDeprecations": "5.0",
|
|
"target": "es2020",
|
|
"paths": {
|
|
"@server/*": ["./server/*"],
|
|
"@shared/*": ["./shared/*"],
|
|
"~/*": ["./app/*"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "build", "server/migrations"]
|
|
}
|