• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

metalabdesign / flowtip
81%
master: 57%

Build:
Build:
LAST BUILD BRANCH: renovate/react-monorepo
DEFAULT BRANCH: master
Repo Added 22 Aug 2016 11:28PM UTC
Files 9
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH prettier
branch: prettier
CHANGE BRANCH
x
Reset
  • prettier
  • 4.x.x
  • 5.x.x
  • bump-version
  • calculate-edge-offset
  • comment-typos
  • container-detection
  • decoupled-render
  • disable-travis-email
  • es-modules
  • fiber-support
  • fix-incorrect-edge-detection
  • fix-incorrect-rotation
  • fix-readme-css
  • fix-scroll-jank
  • fix-scrollers
  • fix-things
  • fix-typo-bug
  • flow-lint
  • git-links
  • master
  • more-updates
  • remove-fbjs
  • remove-old-node
  • remove-omit-util
  • renovate/babel-monorepo
  • renovate/babel-plugin-module-resolver-3.x
  • renovate/configure
  • renovate/enzyme-3.x
  • renovate/enzyme-adapter-react-16-1.x
  • renovate/eslint-4.x
  • renovate/eslint-5.x
  • renovate/eslint-config-metalab-10.x
  • renovate/eslint-plugin-prettier-2.x
  • renovate/eslint-plugin-prettier-3.x
  • renovate/flowgen-1.x
  • renovate/jest-monorepo
  • renovate/lerna-2.x
  • renovate/lerna-3.x
  • renovate/lerna-monorepo
  • renovate/major-jest-monorepo
  • renovate/pin-dependencies
  • renovate/prettier-1.x
  • renovate/react-16.x
  • renovate/react-dom-16.x
  • renovate/react-monorepo
  • renovate/regenerator-runtime-0.x
  • renovate/renamer-0.x
  • renovate/rimraf-2.x
  • renovate/rollup-1.x
  • renovate/rollup-plugin-babel-4.x
  • renovate/rollup-plugin-commonjs-9.x
  • renovate/rollup-plugin-node-resolve-4.x
  • renovate/typescript-3.x
  • standardize-comments
  • static-site
  • storybook
  • tests
  • typescript
  • update-eslint-babel
  • update-react-versions
  • update-tests
  • updates
  • upgrade-deps
  • v5.0.0
  • v5.1.0
  • v5.2.0
  • v5.2.1
  • x

pending completion
208

push

travis-ci

10xjs
Set up prettier

Prettier takes code as input and spits out the same code with a prettier format.

It drops most the original styling and formats the code from its syntax tree, the output style is always consistent.

The `npm run lint` task asserts that all of the `.js` files match both the current eslint rules and are formatted correctly according to Prettier. It is necessary to run Prettier to reformat any new changes in-place before committing.

Run `npm run format` before committing to reformat any changed code, _or_ configure your editor to automatically run Prettier as files are changed:

**Sublime Text 3:**
  - Install [JsPrettier](https://github.com/jonlabelle/SublimeJsPrettier) (there is not need to install `prettier` globally, the local dependency will be used)
  - Configure JsPrettier to auto format files on save:
  ```json
    // ~/Library/Application Support/Sublime Text 3/Packages/User/JsPrettier.sublime-settings

    {
      "auto_format_on_save": true,
      "auto_format_on_save_excludes": [
        "*/package.json",
        "*/package-lock.json",
      ]
    }
  ```

**Atom:**
 - Install [Prettier for Atom](https://atom.io/packages/prettier-atom)
 - Enable "format on save" (Packages → Prettier → Toggle Format on Save)

568 of 870 branches covered (65.29%)

566 of 696 relevant lines covered (81.32%)

20.43 hits per line

Relevant lines Covered
Build:
Build:
696 RELEVANT LINES 566 COVERED LINES
20.43 HITS PER LINE
Source Files on prettier
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
208 prettier Set up prettier Prettier takes code as input and spits out the same code with a prettier format. It drops most the original styling and formats the code from its syntax tree, the output style is always consistent. The `npm run lint` task assert... push 15 Mar 2018 12:09AM UTC 10xjs travis-ci pending completion  
See All Builds (776)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc