You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there - I'm trying to set up a small simple project with xo, but there are a few rules that I'd like to disable. The docs say:
Globals and rules can be configured inline in files.
Is that the only way they can be configured? If so, does that mean that every file needs to have /* eslint-disable unicorn/no-array-for-each */ at the top of it? There's a stackoverflow answer that suggests there's a workaround, but can something be added to the docs to indicate whether this is a legit way to disable rules, and should be respected by the various tools like vscode plugins?
The text was updated successfully, but these errors were encountered:
Hi there - I'm trying to set up a small simple project with xo, but there are a few rules that I'd like to disable. The docs say:
Is that the only way they can be configured? If so, does that mean that every file needs to have
/* eslint-disable unicorn/no-array-for-each */
at the top of it? There's a stackoverflow answer that suggests there's a workaround, but can something be added to the docs to indicate whether this is a legit way to disable rules, and should be respected by the various tools like vscode plugins?The text was updated successfully, but these errors were encountered: