eslint-plugin-moka
Advanced tools
Comparing version
@@ -5,2 +5,6 @@ Changelog | ||
## 0.0.7 | ||
- Optimize rule "lingui-mark", support jsx properties "placeholder".([#6](https://github.com/southerncross/eslint-plugin-moka/pull/6)) | ||
## 0.0.6 | ||
@@ -7,0 +11,0 @@ |
@@ -73,2 +73,3 @@ module.exports = { | ||
case 'title': | ||
case 'placeholder': | ||
return true; | ||
@@ -75,0 +76,0 @@ default: |
{ | ||
"name": "eslint-plugin-moka", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Eslint Plugin of Moka", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -117,2 +117,8 @@ 'use strict'; | ||
{ | ||
code: '<input placeholder="你好"></input>', | ||
errors: [{ | ||
message: ERR_MSG, | ||
}], | ||
}, | ||
{ | ||
code: "httpErrors.BadRequestError('你好')", | ||
@@ -119,0 +125,0 @@ errors: [{ |
23707
1.25%710
1%