5.0.2 • Published 5 months ago
configs-og v5.0.2
Configs OG
Eslint, Prettier configurations for JavaScript Frontend environment
Getting Started
Installation:
npx configs-og
Updating:
npm install configs-og@latest
Manual configuration
Eslint
Create .eslintrc.js in root directory with this config:
module.exports = { extends: ['./node_modules/configs-og/.eslintrc.js'], // configuration };
(optional) Create .eslintignore in root directory with this content
Prettier
Create prettier.config.js in root directory with this config:
module.exports = { ...require('./node_modules/configs-og/prettier.config.js'), // configuration };
(optional) .gitignore
Create .gitignore in root directory with this content
(optional) Scripts
Add this to your package.json:
{ "scripts": { "lint": "eslint --quiet .", "lint:fix": "eslint --quiet --fix .", "prettier:fix": "prettier --write ." } }
5.0.2
5 months ago
5.0.1
5 months ago
5.0.0
5 months ago
4.0.0-beta.2
2 years ago
4.0.0-beta.1
2 years ago
4.0.0-beta.0
2 years ago
4.0.0
2 years ago
3.0.7
3 years ago
3.0.4
3 years ago
3.0.3
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
3.0.6
3 years ago
3.0.5
3 years ago
3.0.0
3 years ago
2.0.16
3 years ago
2.0.15
3 years ago
2.0.13
3 years ago
2.0.14
3 years ago
2.0.12
3 years ago
2.0.11
3 years ago
2.0.9
3 years ago
2.0.10
3 years ago
2.0.7
3 years ago
2.0.3
3 years ago
2.0.5
3 years ago
2.0.4
3 years ago
2.0.6
3 years ago
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.0
4 years ago
0.2.0
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago