Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-loader

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-loader - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

CHANGELOG.md

@@ -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 @@ }

17

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc