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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃洜 Tooling: Enable @typescript-eslint/naming-convention #19
Comments
I think I'm going to not do this for now. It's real opinionated and I don't yet want to get to that level of stylistic recommendations for consuming repos. |
From my experience yeah enforcing a naming convention is pretty low value overall. It's one of those "sure it's nice" things, but there are a lot of edge cases that you end up needing to work around which is a pain. As an anecdote - the Meta codebase uses no naming convention rules, yet scales to several thousand developers across close to a million JS files and yet the majority of the codebase is written using camelCase/PascalCase/UPPER_CASE. Really the only time the convention is broken is when someone used to conventions from another language writes one-off code - but nobody really cares about the names cos the code works and the names are still readable - so it's not worth the effort to RC. |
...I wonder if we should eject rules like naming-convention into their own package, and tell the community someone needs to set up & maintain it 馃槃 |
there is so much call from the community for rules that enforce naming conventions. We used to have a handful of individual rules that did similar but not quite the same things and sometimes conflicted. I got sick of people asking for changes to things and Same with My reasoning: complex rules brings cognitive overhead. Which means people have to think about things which don't really matter. Which means they get distracted from solving real problems. The most scalable stylistic linting method IMO:
Get out of the user's way with stylistic linting so they can focus on problems. |
Bug Report Checklist
main
branch of the repository.Overview
https://typescript-eslint.io/rules/naming-convention is a good rule but requires some configuration. I'll admit, I haven't figured out my preferred config for it yet.
Additional Info
Related: #18
The text was updated successfully, but these errors were encountered: