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
tsconfig 0.9.0 introduced noPropertyAccessFromIndexSignature which requires refactoring from foo.bar to foo['bar']. xo then errors on @typescript-eslint/dot-notation as foo['bar'] can be written as foo.bar.
As a temporary fix xo might disable this rule (changing it only to warn would end up in xo --fix which "fixes" it which is annoying then).
Re enable when the mentioned issue is fixed.
The alternative is to wait with the tsconfig 0.9 upgrade. (While writing this issue I think this might be the easiest way to handle this)
The text was updated successfully, but these errors were encountered:
tsconfig 0.9.0 introduced
noPropertyAccessFromIndexSignature
which requires refactoring fromfoo.bar
tofoo['bar']
.xo
then errors on@typescript-eslint/dot-notation
asfoo['bar']
can be written asfoo.bar
.The relevant tracking issue: typescript-eslint/typescript-eslint#3104
(I already saw your thumbs up on the issue)
As a temporary fix xo might disable this rule (changing it only to warn would end up in
xo --fix
which "fixes" it which is annoying then).Re enable when the mentioned issue is fixed.
The alternative is to wait with the tsconfig 0.9 upgrade. (While writing this issue I think this might be the easiest way to handle this)
The text was updated successfully, but these errors were encountered: