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
When using a for..of loop it's considered restricted syntax
I'm forced to use // eslint-disable-line no-restricted-syntax in order to use it. The alternative is to use a traditional for loops, which is kind of antiquated, or using .forEach(() => {}) and having everything in a function
Looks like for..of is a restricted syntax in airbnb, community does not seem to particularly agree with this - airbnb/javascript#1271
Acceptance criteria
Update eslint-config to allow for..of loops
Also allow null coalsessing - ?? and ?.
The text was updated successfully, but these errors were encountered:
When using a for..of loop it's considered restricted syntax
I'm forced to use
// eslint-disable-line no-restricted-syntax
in order to use it. The alternative is to use a traditional for loops, which is kind of antiquated, or using .forEach(() => {}) and having everything in a functionLooks like for..of is a restricted syntax in airbnb, community does not seem to particularly agree with this - airbnb/javascript#1271
Acceptance criteria
The text was updated successfully, but these errors were encountered: