eslint-loader
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,5 @@ | ||
# 1.1.1 - 2015-10-08 | ||
- Fixed: `failOnError` and `failOnWarning` now print messages. | ||
# 1.1.0 - 2015-10-08 | ||
@@ -2,0 +6,0 @@ |
@@ -75,6 +75,8 @@ var eslint = require("eslint") | ||
if (config.failOnError && res.errorCount) { | ||
throw new Error("Module failed because of a eslint error.") | ||
throw new Error("Module failed because of a eslint error.\n" | ||
+ messages) | ||
} | ||
else if (config.failOnWarning && res.warningCount) { | ||
throw new Error("Module failed because of a eslint warning.") | ||
throw new Error("Module failed because of a eslint warning.\n" | ||
+ messages) | ||
} | ||
@@ -81,0 +83,0 @@ } |
{ | ||
"name": "eslint-loader", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "eslint loader (for webpack)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -95,2 +95,5 @@ # eslint-loader [![Build Status](http://img.shields.io/travis/MoOx/eslint-loader.svg)](https://travis-ci.org/MoOx/eslint-loader) | ||
**Be careful, this option might generate webpack to enter an infinite build loop if | ||
some issues cannot be fixed properly.** | ||
#### `formatter` (default: eslint stylish formatter) | ||
@@ -97,0 +100,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12474
119
219