-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
🚀 Feature: move perfectionist errors to warn #1495
Comments
👋 thanks for mentioning @sys13!
Interesting, what editor are you using? For VS Code, this template switches all ESLint reports from red (error) to yellow (warn).
The problem with warnings in ESLint is that they have a bad habit of being ignored by developers over time. eslint/eslint#16696 -> eslint/eslint#16882 has some good discussion around that. Which is why I'm a big fan of showing the reports as warnings in the UI but treating them as errors in CI. |
Ah, thanks @JoshuaKGoldberg - I don't use the full project (just bolted in the eslint rules, so much good work there) so I missed the vscode setting. I do like having errors for things that I need to fix while I'm coding, and warnings for things that the editor can auto fix. Prefer not to wait until CI, as I have to go back and get in context to make the fixes. As an idea maybe you can have a minimal/maximal setting for how to approach things, instead of a one-size-fits-all. |
Can you say more? What kinds of things would you want to change around with those settings? Slash, is https://github.com/JoshuaKGoldberg/create-typescript-app/blob/28ac87a6fbd116602c55fc0bdffa485119060dc3/docs/Tooling.md different from what you're looking for? |
I think what I'm proposing is turning off |
Ok! I tried this out and ... it's a nice idea, but I really couldn't get used to the blue squigglies in VS Code 😅. It's a pity. I think it makes a lot of sense to separate stylistic lint complaints from functional ones. But:
So, thanks for filing, but the underlying tech isn't there yet. 😞 |
Bug Report Checklist
main
branch of the repository.Overview
When writing code I usually interpret the red error squiggles as something that I've done wrong, questioning if there's something I need to change. The perfectionist plugins often show errors, but I don't need to fix anything, rather just save and let the auto fix deal with it. In this case, I'd prefer a warning, more as a prompt to save.
Additional Info
could add:
The text was updated successfully, but these errors were encountered: