eslint-webpacker 1.0.1 → 1.1.0

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
  SHA256:
3
- metadata.gz: c862f7643f282334fe5b6e3858ac3a1186d561df164245d01931e7e0204bfebd
4
- data.tar.gz: 2a098fd6df1905629206b729c6675be84985539d5c85bfea2079a605d228c60b
3
+ metadata.gz: a586befbe364c8bc45937714c48558a34a20d17559f5298d4c3c34ba94d5be5b
4
+ data.tar.gz: 820294a6f9b1c2abc12f2e78a195f8bbe11e9c8e56a96fcefddea16423b82a28
5
5
  SHA512:
6
- metadata.gz: 48d83f8ea6260c95fd6a582fb7d2d4cdcb1829a6aa6be87dcd9ad0ca66b46aadf03c9da63b573f7d58d8f4e1f59a82556c6ac892db766d41b6e071a1f59b9fa6
7
- data.tar.gz: ec22a9ce7d9f7f1d8cff02e73c751a1ba442a25d34d1dac10b4a812bc4b08295ffd5c9b210d84f211e74e2dc78e60525edb39025ecd35c67d11f53a6903f82bd
6
+ metadata.gz: 7986739596a9fca26f43578a0d052a800e645bf6bc2796121218f681b9f03ada40d722eca96d3c332aaf909ce7e34b70529d9facb600f8304ab076155fc4d184
7
+ data.tar.gz: d671a6c7be629a1629b1c9c73f2a28f267728430318429c781e278c1034faa57998f1f8b1dea9f205504318145f35c313f01bbc3510425794180815e8e51da2a
data/CHANGELOG.md CHANGED
@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
 
9
9
 
10
10
 
11
+ ## [1.1.0] - 2021-03-22
12
+ ### Changed
13
+ - Do no exit on success
14
+
11
15
  ## [1.0.1] - 2021-03-22
12
16
  ### Fixed
13
17
  - Version file loading from gemspec file
@@ -17,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17
21
  - Initial import running `eslint` or `eslint_d`
18
22
 
19
23
 
20
- [Unreleased]: https://gitlab.com/zedtux/eslint-webpacker/-/compare/v1.0.1...master
24
+ [Unreleased]: https://gitlab.com/zedtux/eslint-webpacker/-/compare/v1.1.0...master
25
+ [1.1.0]: https://gitlab.com/zedtux/eslint-webpacker/-/compare/v1.0.1...v1.1.0
21
26
  [1.0.1]: https://gitlab.com/zedtux/eslint-webpacker/-/compare/v1.0.0...v1.0.1
22
27
  [1.0.0]: https://gitlab.com/zedtux/eslint-webpacker/-/tags/v1.0.0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ESLintWebpacker
4
- VERSION = '1.0.1'
4
+ VERSION = '1.1.0'
5
5
  end
@@ -7,14 +7,11 @@ namespace :eslint do
7
7
  puts 'Running Eslint...'
8
8
  warnings = ESLintWebpacker::Runner.new(file).run
9
9
 
10
- if warnings.empty?
11
- puts 'All good! :)'.green
12
- exit 0
13
- else
14
- formatter = ESLintWebpacker::TextFormatter.new(warnings)
15
- formatter.format
16
- exit 1
17
- end
10
+ return if warnings.empty?
11
+
12
+ formatter = ESLintWebpacker::TextFormatter.new(warnings)
13
+ formatter.format
14
+ exit 1
18
15
  end
19
16
 
20
17
  desc 'Run ESLint against the specified JavaScript file or the entire ' \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eslint-webpacker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Hain