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

Added editor settings converter for tslint.configFile, with full settings access #652

Merged
merged 5 commits into from
Aug 10, 2020

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg commented Jul 25, 2020

PR Checklist

Overview

The VS Code TSLint extension allow for a custom configuration path other than tslint.json via tslint.configFile. Now, if that exists in the original editor settings and matches the directory name of the output ESLint file path, the new ESLint editor settings will include the output ESLint file path.

This logic necessitated adding settings: TSLintToESLintSettings as an argument to EditorSettingConverters. Otherwise the file diff is actually not that big 😉.

Base automatically changed from ignore-all-unknown-editor-settings to master July 29, 2020 01:32
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review August 9, 2020 17:31
@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for reviewer Waiting for a maintainer to review label Aug 9, 2020
Copy link
Collaborator

@KingDarBoja KingDarBoja left a comment

Choose a reason for hiding this comment

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

Tested against my test repository: https://github.com/KingDarBoja/sample-tslint-to-eslint-comment

Everything works as explained 🤙

@KingDarBoja KingDarBoja removed the status: waiting for reviewer Waiting for a maintainer to review label Aug 9, 2020
@KingDarBoja KingDarBoja added this to the Next milestone Aug 9, 2020
@JoshuaKGoldberg JoshuaKGoldberg merged commit ba183c9 into master Aug 10, 2020
@JoshuaKGoldberg JoshuaKGoldberg deleted the editor-settings-tslint-config-file branch August 10, 2020 00:27
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.

Missing VS Code editor setting converter: tslint.configFile
2 participants