mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
816a474a46
* chore(deps-dev): bump oxlint-tsgolint from 0.1.6 to 0.21.1 Bumps [oxlint-tsgolint](https://github.com/oxc-project/tsgolint) from 0.1.6 to 0.21.1. - [Release notes](https://github.com/oxc-project/tsgolint/releases) - [Commits](https://github.com/oxc-project/tsgolint/compare/v0.1.6...v0.21.1) --- updated-dependencies: - dependency-name: oxlint-tsgolint dependency-version: 0.21.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: Adjust lint config for newer oxlint-tsgolint Pin oxlint to 1.50.0 and oxlint-tsgolint to 0.14.2. Older oxlint can't parse newer tsgolint diagnostic payloads, and tsgolint >=0.15 rejects moduleResolution: "node" — moving off it requires either "bundler" (currently breaks @hocuspocus@1.1.3 typings, which lack a types condition in their package.json exports) or "node16"/"nodenext" (would require explicit .js extensions on every relative import). Add per-package ignorePatterns since they no longer propagate from the root config when nested configs are present. Drop tsconfig baseUrl (typescript-go in tsgolint rejects it) and add a plugins/* path alias so cross-plugin imports keep resolving. The babel resolver is switched from babel-plugin-tsconfig-paths-module- resolver (which required baseUrl) to babel-plugin-module-resolver with explicit aliases. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
35 lines
975 B
JSON
35 lines
975 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowSyntheticDefaultImports": true,
|
|
"alwaysStrict": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"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/*"],
|
|
"plugins/*": ["./plugins/*"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "build", "server/migrations"]
|
|
}
|