Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cdaringe/standard-damn-it
https://github.com/cdaringe/standard-damn-it
format js lint prettier prettier-standard standard
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cdaringe/standard-damn-it
- Owner: cdaringe
- Created: 2018-02-27T05:31:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:28:58.000Z (about 1 year ago)
- Last Synced: 2025-01-06T18:36:41.662Z (21 days ago)
- Topics: format, js, lint, prettier, prettier-standard, standard
- Language: TypeScript
- Size: 78.1 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# standard-damn-it
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
single command setup for a complete [standardjs](https://standardjs.com/) lint & format experience for javascript & typescript projects.
configure your project to:
- format with standard-prettier
- lint with standard
- wire in typescript support if found in your dependencies
- format & lint on git commit## usage
`npx standard-damn-it [--glob ]`
```
$ standard-damn-itinstantly setup standardjs formatting into your project via prettier-standard.
setup commit hooks to autoformat committed code with husky & lint-staged.Usage
$ standard-damn-itOptions
--glob , -gExamples
$ standard-damn-it
$ standard-damn-it --glob '{src,test,scripts}/**/*.{js,jsx,ts,tsx}'
```