pronto-credo 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b975e4f615d601d78b08b52216c796a4f81e5de1
4
- data.tar.gz: 940b200bb9f3e301fa06cc6381db67d565aabafc
3
+ metadata.gz: 83a9a7bac475bdb785eff0a08fd6214b3b28cf0c
4
+ data.tar.gz: 8ffb83d04ab1e44a74bef239b8f14a5ca2c30d3e
5
5
  SHA512:
6
- metadata.gz: 7ba538783c70f8765c60ba65b7056fbe9b5a93c67e26eff88a5151035558fee86eca427769f17160f342be15e899f53a708e7681e6d24baa0ed66882c5086e7f
7
- data.tar.gz: 5d065d1b5fd9eb99e8579c0fd7cada5dcb3dc1e25143d92e25c0e8ea586254f94356e27acde795c24fc3dbf110fbe1ae1dc8a452c86cf3e94cc072074ff2291c
6
+ metadata.gz: b6fdc99564d756f45dade8fee22b7684d78421b74cf1894db403af73ae58189f4f87e94dcfacd7af38d49fa608c99651647cdcee6dfa760f67425eafbf1c3a6f
7
+ data.tar.gz: 18e6defe9168d57607a4fd6641e970b657b1bcbead92844ce92276845219f05fa2b7778a64a07bc73a45cef2c4469229be4b963ee730fb2a3e101baa15f4c609
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # Credo-pronto WIP
1
+ Credo-pronto
2
+ ============
2
3
 
3
4
  [Pronto](https://github.com/mmozuras/pronto) runner for [credo](https://github.com/rrrene/credo)
4
5
 
5
- Swiftlint is needed to be installed for this runner to work.
6
-
7
- # Configuring runner
6
+ Configuring runner
7
+ ==================
8
8
 
9
9
  First need install erlang-elixir-mix properly
10
10
 
@@ -26,6 +26,18 @@ mix archive.build
26
26
  mix archive.install
27
27
  ```
28
28
 
29
+ Installation
30
+ ============
31
+
32
+ After install successfully credo globally you simple need install this gem
33
+
34
+ ```
35
+ gem install pronto-credo
36
+ ```
37
+
38
+ After the gem is installed, Pronto will already detect credo runner inside a
39
+ elixir project.
40
+
29
41
  Configure checkers
30
42
  ==================
31
43
 
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module Credo
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -22,7 +22,7 @@ module Pronto
22
22
  private
23
23
 
24
24
  def credo_executable(path)
25
- "mix credo --format=flycheck #{path}"
25
+ "mix credo --strict --format=flycheck #{path}"
26
26
  end
27
27
  end
28
28
  end
@@ -32,7 +32,6 @@ module Pronto
32
32
  def new_message(offence, line)
33
33
  path = line.patch.delta.new_file[:path]
34
34
  Message.new(path, line, offence[:level], offence[:message])
35
-
36
35
  end
37
36
 
38
37
  def elixir_file?(path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-credo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ramos