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

eslint-plugin-moka

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-moka - npm Package Compare versions

Comparing version

to
0.0.6

4

CHANGELOG.md

@@ -5,2 +5,6 @@ Changelog

## 0.0.6
- Fix a bug that "lingui-mark" can not resolve not-equal operator correctly.([#5](https://github.com/southerncross/eslint-plugin-moka/pull/5))
## 0.0.5

@@ -7,0 +11,0 @@

2

lib/rules/lingui-mark.js

@@ -98,3 +98,3 @@ module.exports = {

return node.operator === '===' || node.operator === '==';
return node.operator === '===' || node.operator === '==' || node.operator === '!==' || node.operator === '!=';
};

@@ -101,0 +101,0 @@

{
"name": "eslint-plugin-moka",
"version": "0.0.5",
"version": "0.0.6",
"description": "Eslint Plugin of Moka",

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

@@ -74,2 +74,5 @@ 'use strict';

},
{
code: "if (status !== '你好') { success = true; }",
},
],

@@ -76,0 +79,0 @@