Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Sign In

Alorel / personal-build-tools / 801

20 Mar 2019 - 7:52 coverage increased (+2.9%) to 83.558%
801

Pull #76

travis-ci-com

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
chore(package): update lockfile yarn.lock
Pull Request #76: Update rollup to the latest version 🚀

304 of 452 branches covered (67.26%)

Branch coverage included in aggregate %.

936 of 1032 relevant lines covered (90.7%)

44.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/src/lib/init/00_tslint.ts
1
import * as fs from 'fs-extra';
2
import {Git} from '../Git';
12×
3
import {Log} from '../Log';
12×
4

12×
5
const enum Paths {
12×
6
  TSLINT = 'tslint.json'
7
}
8

84×
9
export function handle(): void {
10
  if (!fs.pathExistsSync(Paths.TSLINT)) {
11
    const contents = {
12
      extends: './node_modules/@alorel-personal/tslint-rules/tslint.json'
13
    };
14

15
    //tslint:disable-next-line:no-magic-numbers
16
    fs.writeFileSync(Paths.TSLINT, JSON.stringify(contents, null, 2) + '\n');
UNCOV
17
    Git.add(Paths.TSLINT);
!
18
    Log.success('Wrote tslint.json');
19
  } else {
20
    Log.info('Skipped tslint.json');
21
  }
22
}
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
BLOG · TWITTER · Legal & Privacy · Supported CI Services · What's a CI service? · Automated Testing

© 2022 Coveralls, Inc