CRISalid-esr / SoVisuPlus

CRISalid scientific output and researcher identifiers management app
Other
0 stars 0 forks source link

Setup linters #28

Closed jdp1ps closed 2 hours ago

jdp1ps commented 2 hours ago

Related to #5

jdp1ps commented 2 hours ago

https://blog.bytescrum.com/how-to-set-up-a-nextjs-project-with-typescript-prettier-and-husky

npm install --save-dev prettier eslint-config-prettier
npm install --save-dev eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-react eslint-plugin-react-hooks

For JetBrains IDE : https://blog.jetbrains.com/webstorm/2016/08/using-external-tools/

Tools > actions on save > Run prettier on save