From 5ea387c2f93e588c054f7de67c21d1c33cbd419f Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Thu, 8 Oct 2015 16:10:56 +0200 Subject: [PATCH] 1.1.0 --- CHANGELOG.md | 6 +++++- README.md | 7 ++++++- package.json | 13 ++----------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29f5686..742c8d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -# 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 - Removed: support for eslint 1.x-rc* diff --git a/README.md b/README.md index e88b087..6a02aac 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,11 @@ module.exports = { **Note that you can use both method in order to benefit from global & specific options** +#### `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) Loader accepts a function that will have one argument: an array of eslint messages (object). @@ -112,7 +117,7 @@ module.exports = { formatter: function(results) { // `results` format is available here // http://eslint.org/docs/developer-guide/nodejs-api.html#executeonfiles() - + // you should return a string // DO NOT USE console.*() directly ! return "OUTPUT" diff --git a/package.json b/package.json index a9e4394..32c78e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-loader", - "version": "1.0.0", + "version": "1.1.0", "description": "eslint loader (for webpack)", "keywords": [ "lint", @@ -9,19 +9,10 @@ "loader", "webpack" ], + "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": {