New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-no-includes

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-includes - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

lib/index.js

@@ -5,3 +5,3 @@ /**

*/
"use strict";
'use strict';

@@ -12,3 +12,3 @@ //------------------------------------------------------------------------------

var requireIndex = require("requireindex");
var requireIndex = require('requireindex');

@@ -21,5 +21,5 @@ //------------------------------------------------------------------------------

// import all rules in lib/rules
module.exports.rules = requireIndex(__dirname + "/rules");
module.exports.rules = requireIndex(__dirname + '/rules');
/**
* @fileoverview Disallow using the method indexOf
* @fileoverview Disallow using the method includes
* @author froguard
*/
"use strict";
'use strict';

@@ -7,0 +7,0 @@ //------------------------------------------------------------------------------

{
"name": "eslint-plugin-no-includes",
"version": "0.0.1",
"version": "0.0.2",
"description": "Disallow using the method includes",

@@ -5,0 +5,0 @@ "keywords": [

@@ -5,2 +5,8 @@ # eslint-plugin-no-includes

[![version](https://img.shields.io/npm/v/eslint-plugin-no-includes.svg "version")](https://www.npmjs.com/package/eslint-plugin-no-includes) 
[![Build Status](https://img.shields.io/travis/Froguard/eslint-plugin-no-includes.svg)](https://travis-ci.org/Froguard/eslint-plugin-no-includes) 
[![GitHub issues](https://img.shields.io/github/issues/Froguard/eslint-plugin-no-includes.svg)](https://github.com/Froguard/eslint-plugin-no-includes/issues?q=is%3Aopen+is%3Aissue) 
[![license](https://img.shields.io/github/license/froguard/eslint-plugin-no-includes.svg)](https://github.com/froguard/eslint-plugin-no-includes/blob/master/LICENSE)
## Installation

@@ -40,3 +46,3 @@

"rules": {
"no-includes/rule-name": 2
"no-includes/no-includes": ["error", {"ignore": ["_", "lodash", "underscore"]}],
}

@@ -46,9 +52,2 @@ }

## Supported Rules
* Fill in provided rules here
> Created by yeoman tool.
/**
* @fileoverview Disallow using the method indexOf
* @fileoverview Disallow using the method includes
* @author froguard

@@ -4,0 +4,0 @@ */

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