eslint-plugin-inclusive-language
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16336