mirror of
https://github.com/getredash/redash.git
synced 2026-03-20 22:00:12 -04:00
* Snapshot: 24.07.0-dev * Snapshot: 24.08.0-dev * Snapshot: 24.09.0-dev * Snapshot: 24.10.0-dev * Snapshot: 24.11.0-dev * Snapshot: 24.12.0-dev * Snapshot: 25.01.0-dev * Snapshot: 25.02.0-dev * Snapshot: 25.03.0-dev * Snapshot: 25.04.0-dev * Upgrade Node.js version to 24 in Dockerfile and .nvmrc; update package.json engine constraints * Update major dependencies * Switch from yarn to pnpm * Switch from yarn to pnpm: ci * Update Python version to 3.13 in CI workflow * Refactor Netlify build command to remove pnpm installation step * Update ESLint configuration for improved compatibility and disable specific rules * Restyled by prettier * Add typeRoots and types to tsconfig for improved type definitions * Update Dockerfile.cypress to use Node 24 and streamline installation steps * Fixed tests * Restyled by prettier * Update Jest snapshot comments to point to the official documentation URL * viz-lib: refactor test setup and update snapshots for consistency * Add babel-jest as a dev dependency for improved testing support * Add virtual prop to visualization type selector for improved functionality * Remove CJS/ESM compatibility shim for color-rgba * Restyled by prettier * Enable ESLintPlugin conditionally based on production environment * Import d3 library in d3box.ts * Fix pip install command in CI workflow to use python -m * Replace d3 import with global declaration for compatibility with d3 v3 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
31 lines
920 B
JSON
31 lines
920 B
JSON
{
|
|
"compilerOptions": {
|
|
// Target latest version of ECMAScript.
|
|
"target": "es2019",
|
|
// Search under node_modules for non-relative imports.
|
|
"moduleResolution": "node",
|
|
// Process & infer types from .js files.
|
|
"allowJs": true,
|
|
// Don't emit; allow Babel to transform files.
|
|
"noEmit": true,
|
|
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
|
"strict": true,
|
|
// Import non-ES modules as default imports.
|
|
"esModuleInterop": true,
|
|
"jsx": "react",
|
|
"allowSyntheticDefaultImports": true,
|
|
"noUnusedLocals": true,
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"forceConsistentCasingInFileNames": true,
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/*": ["./app/*"]
|
|
},
|
|
"skipLibCheck": true,
|
|
"typeRoots": ["../node_modules/@types"],
|
|
"types": ["jest", "node", "react", "react-dom"]
|
|
},
|
|
"include": ["app/**/*"],
|
|
"exclude": ["dist"]
|
|
}
|