Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nurriyad/vscode-setup

This repo contains my vscode setup for different types of project
https://github.com/nurriyad/vscode-setup

eslint prettier setup vscode

Last synced: 11 days ago
JSON representation

This repo contains my vscode setup for different types of project

Awesome Lists containing this project

README

        

### Riyad's VS Code Settings

Common Settings & Extensions accross all projects

[`settings.json`](./CommonSettingsExtensions/settings.json)

[`extensions.json`](./CommonSettingsExtensions/extensions.json)



FrontEnd Vanilla JS/TS Projects

[`.vscode/settings.json`](./Vanilla/settings.json)

> add "prettier" to the "extends" array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs

```
npm init -y
npm i -D prettier
npm init eslint/config
npm install -D eslint-config-prettier
```



FrontEnd Vue Projects

[`.vscode/settings.json`](./Vue/settings.json)

```
npm init vue@latest
```
Linting Setup for Vue
```
npm i -D eslint @antfu/eslint-config
```

.eslintrc
```
{
"extends": "@antfu"
}
```
Add to your package.json
```
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
```



Backend NodeJs Projects

[`.vscode/settings.json`](./NodeJS/settings.json)

> add "prettier" to the "extends" array in your .eslintrc.* file. Make sure to put it last, so it gets the chance to override other configs

```
npm init -y
npm i -D prettier
npm init eslint/config
npm install -D eslint-config-prettier
```