Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Oct 8, 2015
1 parent fe762b2 commit 5ea387c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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*
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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"
Expand Down
13 changes: 2 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-loader",
"version": "1.0.0",
"version": "1.1.0",
"description": "eslint loader (for webpack)",
"keywords": [
"lint",
Expand All @@ -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": {
Expand Down

0 comments on commit 5ea387c

Please sign in to comment.