pronto-tslint_npm 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f47d779b292087a92f63f34de672950b04f37a1
4
- data.tar.gz: cac85de5b51b7cc19823cc8571f9ca9bcb8772cf
3
+ metadata.gz: d38aab3cf4a4baf6df13a26905b47d53ab652ddd
4
+ data.tar.gz: 4a4073ee35614933ae5a63cadf36c182c174c5f5
5
5
  SHA512:
6
- metadata.gz: 51326399d5c3795e2c9503dccc0ffbafe736ea54a0811a99ad6e929d534ae042a25115b95940d9aeaca2c13ad5b37857737a7677c908d872ef051149d1c6d5e4
7
- data.tar.gz: aa7e2828ff967bdad5aea116de95dea64082ad0f5a19d169d93e543a77d9521defe710219a35e236b0883d31d94c55f6b622b3edef3a1f38df3406c0abc046b3
6
+ metadata.gz: f861eff95c069e5add91a194105c102c6887fe69a666d7e967cdd861055f6fe179cb72af4096980a6a46cf11080511d24811f6190d595286d8f8a8324aa65c46
7
+ data.tar.gz: 545261838bf8206282e87423223b0c676077e43bd1433c6f60bbb08adab15762c534e98ded6a038c4d970bde1dcc7cb473288b00d084e4ec530f07397fb05bd9
data/README.md CHANGED
@@ -1,7 +1,13 @@
1
1
  # Pronto runner for TSLint (using tslint from npm)
2
- (forked from doits/pronto-eslint_npm)
2
+ forked from [doits/pronto-eslint_npm](http://github.com/doits/pronto-eslint_npm)
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/pronto-tslint_npm.svg)](https://badge.fury.io/rb/pronto-tslint_npm)
4
5
  ![Build Status](https://travis-ci.org/eprislac/pronto-tslint_npm.svg?branch=master "Build Status")
6
+ [![Code Climate](https://codeclimate.com/github/eprislac/pronto-tslint_npm/badges/gpa.svg)](https://codeclimate.com/github/eprislac/pronto-tslint_npm)
7
+ [![Issue Count](https://codeclimate.com/github/eprislac/pronto-tslint_npm/badges/issue_count.svg)](https://codeclimate.com/github/eprislac/pronto-tslint_npm)
8
+ [![Dependency Status](https://gemnasium.com/badges/github.com/eprislac/pronto-tslint_npm.svg)](https://gemnasium.com/github.com/eprislac/pronto-tslint_npm)
9
+ [![Coverage Status](https://coveralls.io/repos/github/eprislac/pronto-tslint_npm/badge.svg?branch=master)](https://coveralls.io/github/eprislac/pronto-tslint_npm?branch=master)
10
+ [![Inline docs](http://inch-ci.org/github/eprislac/pronto-tslint_npm.svg?branch=master)](http://inch-ci.org/github/eprislac/pronto-tslint_npm)
5
11
 
6
12
  Pronto runner for [TSlint](https://palantir.github.io/tslint/), pluggable linting utility for TypeScript. [What is Pronto?](https://github.com/mmozuras/pronto)
7
13
 
@@ -11,11 +17,25 @@ Uses official tslint executable installed by `npm`.
11
17
 
12
18
  You'll need to install [tslint by yourself with npm][tslint-install]. If `tslint` is in your `PATH`, everything will simply work, otherwise you have to provide pronto-tslint-npm your custom executable path (see [below](#configuration-of-tslintnpm)).
13
19
 
14
- [eslint-install]: https://palantir.github.io/tslint/
20
+ [tslint-install]: https://palantir.github.io/tslint/
21
+
22
+ ## Installation
23
+ First, ensure you have [node](https://nodejs.org/en/) with npm installed, then install tslint using the following command in your terminal:
24
+ ```
25
+ npm install -g tslint
26
+ ```
27
+ Second, ensure you have pronto installed, if you have not already:
28
+ ```
29
+ gem install pronto
30
+ ```
31
+ Finally, install this gem, using the following command
32
+ ```
33
+ gem install pronto-tslint_npm
34
+ ```
15
35
 
16
36
  ## Configuration of TSLint
17
37
 
18
- Configuring TSLint via [tslint.json][tslint.json] will work just fine with pronto-eslint-npm.
38
+ Configuring TSLint via [tslint.json][tslint.json] will work just fine with pronto-eslint_npm.
19
39
 
20
40
  [tslint.json]: https://palantir.github.io/tslint/usage/configuration/
21
41
 
@@ -85,10 +85,9 @@ module Pronto
85
85
  output.map do |offence|
86
86
  {
87
87
  msg: offence['failure'],
88
- line: offence['startPosition']['line']
88
+ line: offence['startPosition']['line'] + 1
89
89
  }
90
90
  end
91
-
92
91
  end
93
92
  end
94
93
  end
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module TSLintNpmVersion
3
- VERSION = '0.0.3'.freeze
3
+ VERSION = '0.0.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-tslint_npm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eddie Prislac
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-08 00:00:00.000000000 Z
12
+ date: 2017-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pronto