I'ved got a firebase Function code that has quite a lot of Lint problems. How can I fix these with --fix. It was shown at the end of the error message.
firebase deploy
/Users/xxx/firebase/functions/index.js
16:1 error Unexpected tab character no-tabs
16:1 error Expected indentation of 6 spaces but found 1 tab indent
.....
69:1 error Unexpected tab character no-tabs
69:1 error Expected indentation of 6 spaces but found 1 tab indent
69:5 error Trailing spaces not allowed no-trailing-spaces
69:5 error Block must not be padded by blank lines padded-blocks
71:1 error Trailing spaces not allowed no-trailing-spaces
✖ 157 problems (157 errors, 0 warnings)
45 errors and 0 warnings potentially fixable with the `--fix` option.
Copyright Notice:Content Author:「Axil」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/68140196/how-to-fix-lint-problems-with-fix-in-firebase-functions