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

OCA / maintainer-quality-tools / 1734 / 3
63%
master: 70%

Build:
Build:
LAST BUILD BRANCH: remove-pycparser-temp-fix-sbi
DEFAULT BRANCH: master
Ran 19 Nov 2019 12:43PM UTC
Files 10
Run time 1s
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

19 Nov 2019 11:39AM UTC coverage: 63.152%. Remained the same
VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" UNIT_TEST="1"

Pull #618

travis-ci

web-flow
[IMP] Add Prettier and ESLint with --fix

This commit includes:

- Using https://prettier.io/ for supported file formats (these include CSS, SCSS, JS, HTML, MD, YAML and others; see website).
- Configure ESLint using `eslint-config-prettier` and removing stylistic checks to avoid conflicts with Prettier.
- Add `Promise` as a builtin for v13 (this was missed before, so I take this chance to add that).
- Format properly `.travis.yml` so that when it gets merged downstream it gets less diffs when passed trhough Prettier.
- Use `eslint --fix` so we get less warnings and more fixes.

Some insights:

- See https://github.com/OCA/web/pull/1441 as an example of how a web repo looks after this change.
- A beta XML Prettier plugin exists, which could be used in the future to autoformat XML files too!
  - But it's not usable for us right now, as you can see in https://github.com/prettier/plugin-xml/issues/13#issuecomment-555446753
  - Once that's fixed, we can use a configuration similar to https://github.com/prettier/plugin-xml/issues/17#issuecomment-555445966 to integrate here.
Pull Request #618: [IMP] Add Prettier and ESLint with --fix

569 of 901 relevant lines covered (63.15%)

0.63 hits per line

Source Files on job 1734.3 (VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" UNIT_TEST="1")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1702
  • Travis Job 1734.3
  • 07fc8872 on github
  • Prev Job for VERSION="9.0" TESTS="1" LINT_CHECK="0" INCLUDE="test_module,second_module" UNIT_TEST="1" on precommit-prettier-eslintfix (#1727.3)
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

© 2026 Coveralls, Inc