Socket
Socket
Sign inDemoInstall

eslint-plugin-requirejs

Package Overview
Dependencies
88
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.2.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

### v3.2.0 - May 1, 2018
* Fix: Support ArrowFunctionExpression in one-dependency-per-line (#107) (Mackie Underdown)
### v3.1.1 - January 2, 2017

@@ -2,0 +6,0 @@

2

lib/rules/one-dependency-per-line.js

@@ -89,3 +89,3 @@ /**

const indentation = (node) => {
const statement = node.body.body[0];
const statement = node.type === "ArrowFunctionExpression" ? node.body : node.body.body[0];
return statement && line(node) !== line(statement) ? column(statement) : 0;

@@ -92,0 +92,0 @@ };

{
"name": "eslint-plugin-requirejs",
"author": "Casey Visco <cvisco@gmail.com>",
"version": "3.1.1",
"version": "3.2.0",
"description": "Enforce code conventions for RequireJS modules with ESLint",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/cvisco/eslint-plugin-requirejs",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc