Update ESLint rules
benjaminpjones opened this issue · comments
Benjamin Jones commented
A few of the rules are used with undocumented (possibly deprecated?) parameters:
"no-trailing-spaces": 2,
"eol-last": 2,
Since the official ESLint docs to not cover this usage (e.g. no-trailing-spaces docs), it would be good to update to something that is documented:
"no-trailing-spaces": "error",
"eol-last": "error",
EDIT: I found the docs do cover the meaning of 0, 1, and 2 here, but I still recommend changing these to the clearer "off", "warn", "error" since that is what is used in most of the examples in the docs.
parse-github-assistant commented
Thanks for opening this issue!
❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.
Benjamin Jones commented
Huh? I didn't see a template...