eslint-loader
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -1,3 +0,7 @@ | ||
# 1.0.0- 2015-08-08 | ||
# 1.1.0 - 2015-10-08 | ||
- Added: `fix` option to enable ESLint auto fix feature. | ||
# 1.0.0 - 2015-08-08 | ||
- Added: support for eslint 1.x | ||
@@ -4,0 +8,0 @@ - Removed: support for eslint 1.x-rc* |
@@ -49,2 +49,7 @@ var eslint = require("eslint") | ||
// if enabled, use eslint auto-fixing where possible | ||
if (config.fix && res.results[0].output) { | ||
eslint.CLIEngine.outputFixes(res) | ||
} | ||
if (res.errorCount || res.warningCount) { | ||
@@ -123,3 +128,3 @@ // add filename for each results so formatter can have relevant filename | ||
} | ||
catch(e) { | ||
catch (e) { | ||
callback(e) | ||
@@ -126,0 +131,0 @@ } |
{ | ||
"name": "eslint-loader", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "eslint loader (for webpack)", | ||
@@ -12,19 +12,10 @@ "keywords": [ | ||
], | ||
"repository": "https://github.com/MoOx/eslint-loader.git", | ||
"author": "Maxime Thirouin", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/MoOx/eslint-loader.git" | ||
}, | ||
"homepage": "https://github.com/MoOx/eslint-loader", | ||
"bugs": { | ||
"url": "https://github.com/MoOx/eslint-loader/issues" | ||
}, | ||
"files": [ | ||
"CHANGELOG.md", | ||
"LICENSE", | ||
"index.js" | ||
], | ||
"peerDependencies": { | ||
"eslint": "^1.0.0" | ||
"eslint": "^1.6.0" | ||
}, | ||
@@ -36,3 +27,3 @@ "dependencies": { | ||
"devDependencies": { | ||
"eslint": "^1.0.0", | ||
"eslint": "^1.6.0", | ||
"eslint-friendly-formatter": "^1.0.3", | ||
@@ -39,0 +30,0 @@ "tape": "^4.0.0", |
@@ -90,2 +90,7 @@ # eslint-loader [![Build Status](http://img.shields.io/travis/MoOx/eslint-loader.svg)](https://travis-ci.org/MoOx/eslint-loader) | ||
#### `fix` (default: false) | ||
This option will enable | ||
[ESLint autofix feature](http://eslint.org/docs/user-guide/command-line-interface#fix). | ||
#### `formatter` (default: eslint stylish formatter) | ||
@@ -116,3 +121,3 @@ | ||
// http://eslint.org/docs/developer-guide/nodejs-api.html#executeonfiles() | ||
// you should return a string | ||
@@ -141,3 +146,3 @@ // DO NOT USE console.*() directly ! | ||
// ... | ||
} | ||
}, | ||
eslint: { | ||
@@ -162,3 +167,3 @@ emitError: true | ||
// ... | ||
} | ||
}, | ||
eslint: { | ||
@@ -179,3 +184,3 @@ quiet: true | ||
// ... | ||
} | ||
}, | ||
eslint: { | ||
@@ -196,3 +201,3 @@ failOnWarning: true | ||
// ... | ||
} | ||
}, | ||
eslint: { | ||
@@ -199,0 +204,0 @@ failOnError: true |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
12213
117
216
1
1
1