Skip to content

Migrate project to TypeScript#29

Open
fabnguess wants to merge 1 commit intomainfrom
migrate_to_ts
Open

Migrate project to TypeScript#29
fabnguess wants to merge 1 commit intomainfrom
migrate_to_ts

Conversation

@fabnguess
Copy link
Copy Markdown

No description provided.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​types/​node@​25.6.01001008196100

View full report

Comment thread tsconfig.json
Comment on lines +1 to +27
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"allowSyntheticDefaultImports": true,
"moduleDetection": "force",
"resolveJsonModule": true,
"isolatedModules": true,
"verbatimModuleSyntax": false,
"types": ["node"]
},
"include": [
"src/**/*",
"scripts/**/*"
],
"exclude": [
"node_modules",
"dist"
]
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should use @openally/config.typescript

Comment thread scripts/generate-contributors.ts
Comment thread src/hydrate-contributors.ts
Comment thread src/particules.ts
Comment thread src/particules.ts
Comment thread eslint.config.mjs
@@ -1,2 +1,2 @@
// Import Third-party Dependencies
import { ESLintConfig, globals } from "@openally/config.eslint";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we use typescriptConfig now ?

Comment thread package.json
"build": "vite build",
"preview": "vite preview",
"lint": "eslint src scripts plugins"
"lint": "eslint \"**/*.{js,mjs}\""
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You disabled linter for TS here, keep "lint": "eslint src scripts plugins"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants