Use the same JS linting as the node repo
Adapted for the frontend JS files since ES5 is used there.
I'd like to take a stab at it, but I'm not sure where to start. Also, this change will probably be a big one, from a quick look. But at least this way we'll be consistent. And then we can look into #2524, which IMO is super important.
I'm interested in giving this a shot as well, even if it's just a piece of the overarching issue but first I'd like to clarify what I'm getting myself into. Since I'm so new to the node repos can anyone help me suss out what specifically needs to be done.
My most basic question is, does all the linting from the node repo need to be front end adapted and implemented over here? It seems like there are a lot of custom rules (https://github.com/nodejs/node/tree/master/tools/eslint-rules) in addition to what's defined in .eslintrc.js.
Maybe a good start would be to implement what's in https://github.com/nodejs/node/blob/master/.eslintrc.js minus the custom rules?
Thanks for bearing with all my ignorance!
My 2 cents would be to see if you can create a repo like https://github.com/nodejs/remark-preset-lint-node based on the config. Then that config could be used by Node-core plus other repos
Thanks, I appreciate the 2 cents. I wondered if a new shared repo would be appropriate here. Lemme see what I can figure out.
Closing as all PRs got merged already and this is probably not relevant anymore. Feel free to reopen if needed.