Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove deprecated tslint dependency #323

Conversation

mcmxcdev
Copy link
Contributor

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Changes

  • remove tslint dependency from root package.json
  • remove tslint-disable-next-line statements from various files
  • add pnpm-lock.yaml and pnpm-debug.log files to .gitignore

Related issues

When running dependency installation with e.g. pnpm in this repository, I encountered the following warning:

 WARN  deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information.

The migration from tslint to eslint was done in #297, but it seems that the tslint dependency has not been removed as part of it.

- remove tslint dependency from root package.json
- remove tslint-disable-next-line statements from various files
- add pnpm-lock.yaml and pnpm-debug.log files to .gitignore
@@ -12,5 +13,6 @@ test-types.js
docs/build/
yarn.lock
package-lock.json
pnpm-lock.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NPM and Yarn specific files were gitignored already but PNPM was not so far.

@mcmxcdev mcmxcdev marked this pull request as ready for review October 31, 2024 02:18
@mcmxcdev mcmxcdev requested a review from a team as a code owner October 31, 2024 02:18
@@ -78,7 +78,7 @@
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"ts-jest": "^29.2.2",
"tslint": "^6.1.3",
"tslib": "^2.8.1",
Copy link
Member

Choose a reason for hiding this comment

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

The build was indirectly depending on tslib, and removing tslint make it so it could not build.

@kinyoklion kinyoklion merged commit 186c66f into launchdarkly:main Nov 1, 2024
1 check passed
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.

2 participants