https://github.com/phartenfeller/node-js-template
https://github.com/phartenfeller/node-js-template
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phartenfeller/node-js-template
- Owner: phartenfeller
- License: mit
- Created: 2020-01-24T18:23:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T07:04:58.000Z (about 2 years ago)
- Last Synced: 2025-02-27T02:57:27.749Z (11 months ago)
- Language: JavaScript
- Size: 563 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-js-template
Template to quickly start node-js projects.
Pre-Configured ESLint + Prettier
First runs Prettier then ESLint
## Setup
### VS Code Settings
```json
// formatting
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": [
"source.formatDocument",
"source.organizeImports",
"source.fixAll.eslint"
]
},
```
### VS Code Plugins
- [Format Code Action](https://marketplace.visualstudio.com/items?itemName=rohit-gohri.format-code-action)
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)