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

eslint-plugin-ideal

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ideal - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

lib/rules/vars-on-newline.js

@@ -9,2 +9,3 @@ /**

module.exports = function(context){
var lastVarEndLine = -1;

@@ -14,6 +15,3 @@ function report(node){

node: node,
message: "Variable `" + node.id.name + "` should be on a new line.",
fix: function(fixer){
return fixer.insertTextBefore(node, "\n");
}
message: "Variable `" + node.id.name + "` should be on a new line."
});

@@ -28,6 +26,8 @@ }

}
lastVarEndLine = elem.loc.end.line;
return elem.loc.end.line;
}, -1);
}, lastVarEndLine);
}
};
};
{
"name": "eslint-plugin-ideal",
"version": "0.1.0",
"version": "0.1.1",
"description": "ESLint rules",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -7,3 +7,3 @@ [![NPM version](https://badge.fury.io/js/eslint-plugin-ideal.svg?style=flat-square)](http://badge.fury.io/js/eslint-plugin-ideal)

#How to use
# How to use

@@ -74,3 +74,3 @@ ## Install [ESLint](https://www.github.com/eslint/eslint) either locally or globally

#List of supported rules
# List of supported rules

@@ -77,0 +77,0 @@ * [no-tabs-in-file](docs/rules/no-tabs-in-file.md)

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