1.0.0 • Published 2 years 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-starterOverview
- forked from eslint/create-config
- Generate
.eslintrcusingnpx 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.jsonand.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
2 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.14
4 years ago
0.0.13
4 years ago
0.0.12
4 years ago
0.0.11
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago
0.0.3
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago