You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: migrate from TypeScript to JavaScript (#28651)
* refactor: migrate from TypeScript to JavaScript
* fix(diff-features): enumerate features with tsx if necessary
* fixup! Merge branch 'main' into un-typescript
* chore(eslint): forbid `@typedef`
* refactor: migrate `@typedef` imports to `@import`
* chore(eslint): enable jsdoc/prefer-import-tag
* refactor: replace `import()` in JSDoc with `@import`
* chore(eslint): refine build ignore
It was also ignoring `scripts/build`.
* chore: run `eslint --fix`
* fixup! refactor: migrate `@typedef` imports to `@import`
* fix(scripts/build): add missing async option
Helps TypeScript to infer the right return type.
* chore(tsconfig): remove unnecessary `include`
* chore(tsconfig): remove `skipLibCheck`
* fix(types): import from `build/types.d.ts`
* fix: resolve newly surfaced type errors
* chore(eslint): remove typescript config/plugins
* chore(deps-dev): remove unused dependencies
* fix(eslint): use latest ecmaVersion
As recommended, see: https://eslint.org/docs/latest/use/configure/language-options#specifying-javascript-options
* chore(tsconfig): include tests in type checking
* chore(lint): remove duplicate type imports
* chore(lint): avoid invalid test value
* chore(lint): fix some types
* fixup! chore(lint): avoid invalid test value
* fixup! chore(lint): fix some types
* chore(utils): add missing test for __compat
* chore(eslint): ignore `import/no-unresolved` errors for `yargs/helpers`
* chore(lint): remove unnessary type annotation
* chore(lint): refine type
* fix(yargs): avoid callback + use parseSync() for proper typing
* chore(scripts/diff-features): specify tsx version
Same as in `package.json` in main.
* fixup! fix(yargs): avoid callback + use parseSync() for proper typing
* fixup! fix(yargs): avoid callback + use parseSync() for proper typing
* chore: use arrow function type syntax
* refactor(lint): extract types to d.ts file
* fix(lint/types): unmark path.{full,category} as optional
* test(lint): fix incomplete paths in test cases
* chore(lint): handle undefined rawdata
* test(lint): add missing version_added field
* chore(types): introduce InternalDataType
* chore(eslint): bring back `@typescript/eslint`
* chore(tsconfig): re-enable skipLibCheck
Otherwise we stumble over web-features type
import without file extension.
* chore(lint): avoid cast to unknown
* chore(eslint): forbid unknown type in JSDoc
* chore(mocha): remove unused mjs extension
* chore(eslint): use jsdoc/recommended-typescript-flavor
* chore(eslint): fix type import
* chore(eslint): ignore no-empty-function once
* chore(eslint): disable duplicate no-unused-vars rule
* chore(eslint): use single no-unused-var + refine
* style(eslint): remove unused vars
* style(eslint): resolve no-unused-vars issue
0 commit comments