1.0.0 • Published 11 months ago
dev-starter v1.0.0
dev-starter
Utility to create ESLint, Prettier, VSC config files.
Prerequisites
- Node.js (
^12.22.0
,^14.17.0
, or>=16.0.0
) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.) - ESLint VSC extension must be installed
- Prettier - Code formatter VSC extension must be installed
Usage
You can use npx
# use npx
npx dev-starter
Overview
- forked from eslint/create-config
- Generate
.eslintrc
usingnpx eslint --init
- Install
eslint-config-prettier
,prettier
- Edit eslint config file
- "extends" in config : push "prettier" to extends arr
- !"extends" in config : add
"extends": ["prettier"]
- Automatically generate
.prettierrc.json
and.vscode/settings.json
- No additional setup required
default options
- prettier
{ "singleQuote": true }
- vscode
{ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, "eslint.enable": true }
1.0.0
11 months ago
0.1.5
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.14
2 years ago
0.0.13
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago