@codementor/bro

2.7.0 • Public • Published

bro

Greenkeeper badge

A bro will lint and prettify your code

What's inside

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?

Package Sidebar

Install

npm i @codementor/bro

Weekly Downloads

1

Version

2.7.0

License

ISC

Unpacked Size

4.53 kB

Total Files

7

Last publish

Collaborators

  • codementor
  • camel2243
  • oliverlin
  • wehuin1215
  • msjh80311
  • jonahjoshua
  • lanamaysu