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

If a tslint.json doesn't extend from tslint-config-prettier, recommend Prettier #2

Closed
JoshuaKGoldberg opened this issue Jun 24, 2019 · 2 comments · Fixed by #412
Closed
Assignees
Labels
status: accepting prs Please, send in a PR to resolve this! ✨ type: enhancement New feature or request

Comments

@JoshuaKGoldberg
Copy link
Member

😄. TSLint maintainers (myself included) have been recommending moving off of whitespace rules for quite some time now. I believe ESLint maintainers are of the same opinion, though it'd be nice to have a source on that.

@JoshuaKGoldberg JoshuaKGoldberg added status: in discussion This issue needs more discussion before code changes type: enhancement New feature or request labels Jun 24, 2019
@JoshuaKGoldberg JoshuaKGoldberg changed the title If a config doesn't (extend|plugin) from (eslint|tslint)-config-prettier, recommend Prettier If a tslint.json doesn't extend from tslint-config-prettier, recommend Prettier Jun 24, 2019
@JoshuaKGoldberg JoshuaKGoldberg added status: accepting prs Please, send in a PR to resolve this! ✨ and removed status: in discussion This issue needs more discussion before code changes labels Jun 24, 2019
@JoshuaKGoldberg
Copy link
Member Author

Well this is unfortunate. tslint --print-config doesn't print anything under extends: just an empty array. I'll file an issue on TSLint to talk about improving this.

@JoshuaKGoldberg
Copy link
Member Author

JoshuaKGoldberg commented Apr 26, 2020

#348 confirmed this is at least an acceptable opinion for the TSLint and typescript-eslint side. Hooray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send in a PR to resolve this! ✨ type: enhancement New feature or request
Projects
None yet
1 participant