eslint-plugin-i18next
Advanced tools
Comparing version 5.0.0-0 to 5.0.0-1
@@ -5,2 +5,9 @@ # Changelog | ||
## [5.0.0-1](https://github.com/edvardchen/eslint-plugin-i18next/compare/v5.0.0-0...v5.0.0-1) (2020-09-02) | ||
### Bug Fixes | ||
* recognize react JSXFragment ([719f496](https://github.com/edvardchen/eslint-plugin-i18next/commit/719f496)) | ||
## [5.0.0-0](https://github.com/edvardchen/eslint-plugin-i18next/compare/v4.5.0...v5.0.0-0) (2020-08-28) | ||
@@ -7,0 +14,0 @@ |
@@ -295,2 +295,6 @@ /** | ||
'JSXFragment > Literal'(node) { | ||
scriptVisitor.JSXText(node); | ||
}, | ||
JSXAttribute(node) { | ||
@@ -297,0 +301,0 @@ const attrName = node.name.name; |
{ | ||
"name": "eslint-plugin-i18next", | ||
"version": "5.0.0-0", | ||
"version": "5.0.0-1", | ||
"description": "ESLint plugin for i18n", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -175,2 +175,3 @@ /** | ||
{ code: '<div>foo</div>', options: [{ markupOnly: true }], errors }, | ||
{ code: '<>foo999</>', options: [{ markupOnly: true }], errors }, | ||
{ code: '<div>FOO</div>', errors }, | ||
@@ -247,2 +248,8 @@ { | ||
{ | ||
code: '<>foo999</>', | ||
filename: 'a.tsx', | ||
options: [{ markupOnly: true }], | ||
errors, | ||
}, | ||
{ | ||
code: `<button className={styles.btn}>loading</button>`, | ||
@@ -249,0 +256,0 @@ filename: 'a.tsx', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50772
955
12