@so1ve/eslint-plugin 0.110.4 → 0.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -388,7 +388,7 @@ const noNegatedComparison = createEslintRule({
388
388
  if (!parent) {
389
389
  return;
390
390
  }
391
- if (negatives.includes(node.operator) && parent.type === types.AST_NODE_TYPES.UnaryExpression && // Is this necessary?
391
+ if (negatives.includes(operator) && parent.type === types.AST_NODE_TYPES.UnaryExpression && // Is this necessary?
392
392
  parent.operator === "!") {
393
393
  context.report({
394
394
  node,
package/dist/index.mjs CHANGED
@@ -386,7 +386,7 @@ const noNegatedComparison = createEslintRule({
386
386
  if (!parent) {
387
387
  return;
388
388
  }
389
- if (negatives.includes(node.operator) && parent.type === AST_NODE_TYPES.UnaryExpression && // Is this necessary?
389
+ if (negatives.includes(operator) && parent.type === AST_NODE_TYPES.UnaryExpression && // Is this necessary?
390
390
  parent.operator === "!") {
391
391
  context.report({
392
392
  node,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-plugin",
3
- "version": "0.110.4",
3
+ "version": "0.111.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "keywords": [
6
6
  "eslint",