eslint-webpacker 1.0.1 → 1.1.0
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/eslint-webpacker/version.rb +1 -1
- data/lib/tasks/eslint.rake +5 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a586befbe364c8bc45937714c48558a34a20d17559f5298d4c3c34ba94d5be5b
|
4
|
+
data.tar.gz: 820294a6f9b1c2abc12f2e78a195f8bbe11e9c8e56a96fcefddea16423b82a28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/tasks/eslint.rake
CHANGED
@@ -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
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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 ' \
|