Open feydan opened 2 months ago
how about this one: dbaeumer.vscode-eslint
how about this one: dbaeumer.vscode-eslint
Yep this extension for vs code is good, but we will also need an eslint file in the repo, and maybe some instructions in the readme for using this extension.
I think we should also use Prettier and the extension for that too. And also https://github.com/prettier/eslint-config-prettier#installation.
looks like there is a way that Next wants us to do things: linting in Next.js There is also a section explaining how to use ESLint in conjunction with Prettier I'll have a look into it next week.
The linter works now and I removed initial errors with a commit. The next commit will be to adjust the img tags to Image but it will be quite laborious as the width property needs to be modified. https://stackoverflow.com/questions/75781160/next-image-component-gives-error-missing-required-width-property-when-runni
We want to make sure that all developers contributing to the code base save code in the same format so our IDEs don't fight each other on superficial formatting like spaces and newlines.