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.0.2 to 0.0.3

index.js

11

lib/rules/no-tabs-in-file.js

@@ -12,8 +12,13 @@ /**

var regex = /\t/;
var lines = context.getSourceLines();
if(regex.test(context.getSource())){
context.report(node, "File contains tabs.");
}
lines.forEach(function(line, index){
var match = regex.exec(line);
if(match){
context.report(node, {line: index + 1, column: match.index + 1}, "Line has tabs.");
}
});
}
};
};
{
"name": "eslint-plugin-ideal",
"version": "0.0.2",
"version": "0.0.3",
"description": "ESLint rules",

@@ -35,3 +35,4 @@ "license": "MIT",

"files": [
"lib"
"lib",
"index.js"
],

@@ -38,0 +39,0 @@ "keywords": [

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