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

eslint-plugin-inclusive-language

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-inclusive-language - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

CHANGELOG.md

@@ -8,2 +8,6 @@ # Changelog

## [1.2.1](https://github.com/muenzpraeger/eslint-plugin-inclusive-language/compare/1.2.0...1.2.1) - 2020-07-19
- Add URI support for partial matches of allowed terms [muenzpraeger](https://github.com/muenzpraeger) [`PR 14`](https://github.com/muenzpraeger/eslint-plugin-inclusive-language/pull/14)
## [1.2.0](https://github.com/muenzpraeger/eslint-plugin-inclusive-language/compare/1.1.0...1.2.0) - 2020-07-03

@@ -10,0 +14,0 @@

2

lib/rules/use-inclusive-words.js

@@ -51,3 +51,3 @@ 'use strict';

// match whole words and partial words, at the end and beginning of sentences
regex = new RegExp(`[\\w-_]*${wordDeclaration.word}[\\w-_]*`, 'ig');
regex = new RegExp(`[\\w-_/]*${wordDeclaration.word}[\\w-_/]*`, 'ig');

@@ -54,0 +54,0 @@ const matches = value.match(regex);

{
"name": "eslint-plugin-inclusive-language",
"version": "1.2.0",
"version": "1.2.1",
"description": "An ESLint plugin to raise awareness for using inclusive language not only in your codebase, but in life.",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"devDependencies": {
"eslint": "^7.2.0",
"eslint": "^7.5.0",
"husky": "^4.2.5",

@@ -13,0 +13,0 @@ "jest": "^26.0.1",

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