@withfig/eslint-plugin-fig-linter
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -25,2 +25,4 @@ module.exports = { | ||
{ | ||
// IMPORTANT!: when enabling a new rule that may conflict with how diff-versioned-specs work | ||
// be sure to exclude it from diff-versioned-specs (see below) | ||
files: "src/**/*.ts", | ||
@@ -49,2 +51,3 @@ rules: { | ||
{ | ||
// MARK: here we modify some rules for diff-versioned-specs indexes | ||
files: "src/**/index.ts", | ||
@@ -56,2 +59,3 @@ rules: { | ||
{ | ||
// MARK: here we modify some rules from diff-versioned-specs versions | ||
files: "src/**/+([0-9]).+([0-9]).+([0-9]).ts", | ||
@@ -58,0 +62,0 @@ rules: { |
{ | ||
"name": "@withfig/eslint-plugin-fig-linter", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "This is a eslint plugin which is tailored for fig specs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -19,3 +19,3 @@ module.exports = { | ||
if (!insertValue || !nameValue) return; | ||
if (insertValue.trim() === nameValue.trim()) { | ||
if (insertValue === nameValue) { | ||
context.report({ | ||
@@ -22,0 +22,0 @@ node, |
21346
591