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
Sorry about the linting noise @twittwer, you are correct that it was not intentional. I have a PR up to disable these rules and we'll get it into 17.3.1: #21424 21424
Current Behavior
With the update to Nx 17.3.0 the default eslint rule have changed and activated additional rules by default via
plugin:@typescript-eslint/stylistic
:@typescript-eslint/array-type
@typescript-eslint/consistent-type-definitions
@typescript-eslint/consistent-indexed-object-style
@typescript-eslint/prefer-function-type
@typescript-eslint/no-inferrable-types
Expected Behavior
Because the related commit (4700df6) tried to reset rule changes, I assume this was not intentional.
GitHub Repo
No response
Steps to Reproduce
ReadonlyArray<string>
error Array type using 'ReadonlyArray<T>' is forbidden. Use 'readonly T[]' instead @typescript-eslint/array-type
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: