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
build: migrate to eslint flat config format #1955
Conversation
Nice. I've been wanting to do this for a long time. Also need to turn on "eslint.experimental.useFlatConfig" vscode-neovim/.vscode/settings.json Line 14 in 1fc6752
And |
I don't understand why it's not "chore" but "build". |
I can change the title if you want. I know there were discussions of not using |
馃樀 |
"chore" is a useless prefix. Of course this is either "build" or "lint". Why wouldn't it be? |
Should delete |
FYI,
I agree that would be the most fitting here |
we can add it (and remove "chore") |
馃憤馃徎
馃憥馃徎 Most front-end projects use something like chore(lint) |
Why does that matter? The problem is that people over-use "chore", it ends up being 30% of the commits. Which defeats the purpose of having a prefix. |
Modern versions of eslint have migrated to the "flat" configuration style, deprecating
.eslintrc.js
. I've gone ahead and migrated the project to the new format, which will allow us to safely upgrade to newer versions of eslint. I believe I've preserved all existing rules, but it's a bit hard to prove a negative 馃槄The
globals
dependency is needed due to a change in how the new configuration format handles known globals. See: https://eslint.org/docs/latest/use/configure/migration-guide#configuring-language-options