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.8

5

CHANGELOG.md

@@ -5,2 +5,7 @@ Changelog

## 0.0.8
- Optimize rule "lingui-mark", refactor jsx property validation.([#8](https://github.com/southerncross/eslint-plugin-moka/pull/8))
- Bump lodash from 4.17.11 to 4.17.15([#7](https://github.com/southerncross/eslint-plugin-moka/pull/7))
## 0.0.7

@@ -7,0 +12,0 @@

9

lib/rules/lingui-mark.js

@@ -70,10 +70,3 @@ module.exports = {

switch (node.name.name) {
case 'tooltip':
case 'title':
case 'placeholder':
return true;
default:
return false;
}
return /tooltip|title|placeholder|text/i.test(node.name.name);
}

@@ -80,0 +73,0 @@

{
"name": "eslint-plugin-moka",
"version": "0.0.7",
"version": "0.0.8",
"description": "Eslint Plugin of Moka",

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