Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codementorio/bro
standard + prettier for your dear react projects
https://github.com/codementorio/bro
eslint lint prettier standard standard-engine
Last synced: 2 months ago
JSON representation
standard + prettier for your dear react projects
- Host: GitHub
- URL: https://github.com/codementorio/bro
- Owner: CodementorIO
- Created: 2018-09-03T08:11:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-21T03:16:36.000Z (over 1 year ago)
- Last Synced: 2024-11-05T23:18:30.077Z (2 months ago)
- Topics: eslint, lint, prettier, standard, standard-engine
- Language: JavaScript
- Homepage:
- Size: 481 KB
- Stars: 2
- Watchers: 21
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bro
[![Greenkeeper badge](https://badges.greenkeeper.io/CodementorIO/bro.svg)](https://greenkeeper.io/)
A bro will lint and prettify your code
## What's inside
- [Standard](https://github.com/standard/standard)
- [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)
- [Prettier](https://github.com/prettier/prettier)## Installation
```
$ yarn add @codementor/bro --dev
```To let your editor lint plugin works, you'll need to copy the `eslintrc.json` from this package to your project root and rename to `.eslintrc.json`.
```
$ cp node_modules/@codementor/bro/eslintrc.json ./.eslintrc.json
```## Config
In your `package.json`
```
"scripts": {
"lint": "bro \"src/**/*.js\" --fix"
},
"bro": { // all optional
"ignore": [],
"plugins": [],
"envs": [],
"globals": []
}
```## Todo
- [ ] how to integrate with editor plugins?
- [ ] how to integrate with `snazzy`?