0

I have just finished setting up Eslint/prettier/airbnb by watching an online tutorial but what I don't understand is that when I start a new project, will I need to repeat the same processes* again? I wish there was a way to integrate it to VSCode so it starts automatically when I ran the code for any project.

*below is what I meant by processes:

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
npx install-peerdeps --dev eslint-config-airbnb
TylerH
  • 20,799
  • 66
  • 75
  • 101
B_12
  • 143
  • 1
  • 9

1 Answers1

0

You could create a template project to avoid having to do that, or you could just copy package.json to you new project, edit it a bit and run npm install

David Bradshaw
  • 11,859
  • 3
  • 41
  • 70