Socket
Socket
Sign inDemoInstall

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 0.11.2 to 0.12.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 0.12.0 - 2015-06-04
- Changed: upgrade to eslint 0.22.x
- Fixed: respect .eslintrc files in directory tree ([#21](https://github.com/MoOx/eslint-loader/issues/21))
# 0.11.2 - 2015-05-11

@@ -2,0 +7,0 @@

11

index.js

@@ -17,3 +17,12 @@ var eslint = require("eslint")

var res = engine.executeOnText(input)
var resourcePath = webpack.resourcePath
var cwd = process.cwd()
// remove cwd from resource path in case webpack has been started from project
// root, to allow having relative paths in .eslintignore
if (resourcePath.indexOf(cwd) === 0) {
resourcePath = resourcePath.substr(cwd.length + 1)
}
var res = engine.executeOnText(input, resourcePath)
// executeOnText ensure we will have res.results[0] only

@@ -20,0 +29,0 @@

7

package.json
{
"name": "eslint-loader",
"version": "0.11.2",
"version": "0.12.0",
"description": "eslint loader (for webpack)",
"keywords": [
"lint",
"linter",
"eslint",

@@ -27,3 +28,3 @@ "loader",

"peerDependencies": {
"eslint": "0.17 - 0.21"
"eslint": "0.21 - 0.22"
},

@@ -35,3 +36,3 @@ "dependencies": {

"devDependencies": {
"eslint": "^0.19.0",
"eslint": "^0.22.1",
"eslint-friendly-formatter": "^1.0.3",

@@ -38,0 +39,0 @@ "tape": "^4.0.0",

Sorry, the diff of this file is not supported yet

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