Work around the bug in Typescript semver semantics by using a more
precise specifier that works there, as well as standard semver.
The bug in typescript should be fixed soon, so we can change this back
later. In the meantime only 13 packages use typesVersions so it's easy
to change back and forth.
* wip: convert export-just-namespace from TSLint to ESLint
* wip
* Not not statSync
* Finished migration and removed temp comments
* Whoops, forgot to delete file
* Remove export-just-namespace entry in dtslint.json
* Converted no-useless-files from TSLint to ESLint
* Remove no-useless-files from dtslint.json
* fix: The file is not useless if it includes Triple-Slash References
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
* Half-done work from pairing with Josh Goldberg
* Cleanup
1. Update @typescript-eslint deps again.
2. Remove tslint versions of new eslint rules.
3. Add no-dead-reference eslint test.
* Fix formatting
* Fix lint
* Stop using @definitelytyped/eslint-config-dtslint
Instead, rely on Definitely Typed having a .eslintrc.json at the root.
It already one with `{ root: true }` and
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61051 adds
the rest of eslint-config-dtslint to it.
Also, switch cwd to the current package directory so that .eslintignore
is determined correctly.
* Remove eslint-config-dtslint
It's not needed if Definitely Typed has its own .eslintrc.json:
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/61051
* Add a couple of tests of multiple bad references