* typescript-eslint workaround + misc fixes 1. typescript-eslint memory usage workaround provided by @bradzacher in https://github.com/typescript-eslint/typescript-eslint/issues/6462. Clear caches after each run so that ts.Program objects aren't retained forever. 2. typescript-eslint speedup provided the same way. Avoid constructing some objects that are only needed for editors. 3. Add yet another jsdoc tag to no-redundant-jsdoc2 4. Correct and reduce amount of perf-related printing at end of ExpectRule. The correction is needed now that ExpectRule saves the equivalent of --extendedDiagnostics after running; I changed the name of the properties to match. * fix semicolon lint
DefinitelyTyped-tools
A monorepo for formerly disparate DefinitelyTyped-related tools:
- definitions-parser: the part of microsoft/types-publisher that reads DefinitelyTyped repository data
- dtslint: microsoft/dtslint
- dtslint-runner: DefinitelyTyped/dtslint-runner
- dts-critic: DefinitelyTyped/dts-critic
- header-parser: microsoft/definitelytyped-header-parser
- perf: andrewbranch/definitely-not-slow
- publisher: the rest of microsoft/types-publisher
- retag: DefinitelyTyped/dt-retag
- typescript-versions: the part of definitelytyped-header-parser that tracked which TypeScript versions are published to npm and supported on DefinitelyTyped
- utils: shared utilities, mostly extracted from microsoft/types-publisher
Disclaimer
These tools are not intended for public consumption, so we may break the API whenever convenient for us.
Development
This is a monorepo managed with yarn workspaces and lerna. After cloning, run yarn to install dependencies for each package and link them to each other.
Testing
All packages use jest, with a single configuration set up to be run from the monorepo root. yarn test is an alias for jest, so you can run tests with any of jest’s CLI options. For example, to run tests for a single package:
yarn test packages/utils
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.