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
Current plugins in ESLint have the no-mixed-spaces-and-tabs rule. If this rule isn't followed in the code, the error is thrown.
However, even after fixing it manually, yarn prettier --write returns it to the previous state.
Thus, we are never able to lint the code locally and to send it then to the repo without any possible ESlint errors.
Possible workaround:
Override the rule. (not recommended, because there can be another conflicts in the future)
Wait until #44 is resolved and the consistent coding style is accepted. (may take too long)
Current plugins in ESLint have the no-mixed-spaces-and-tabs rule. If this rule isn't followed in the code, the error is thrown.
However, even after fixing it manually,
yarn prettier --write
returns it to the previous state.Thus, we are never able to lint the code locally and to send it then to the repo without any possible ESlint errors.
Possible workaround:
Override the rule. (not recommended, because there can be another conflicts in the future)Wait until #44 is resolved and the consistent coding style is accepted. (may take too long)npm run lint:fix
, which will invoke the ESlint with the argument--fix
;npm run lint
will be used for the checks in pipelines - see [ENHANCEMENT] Implement Linting and automate Testing on Pull Request #43.I guess this issue can be a great and non-painful way to start the whole linting enhancement.
The text was updated successfully, but these errors were encountered: