Socket
Socket
Sign inDemoInstall

eslint-plugin-i18next

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-i18next - npm Package Compare versions

Comparing version 5.0.0-0 to 5.0.0-1

7

CHANGELOG.md

@@ -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 @@

4

lib/rules/no-literal-string.js

@@ -295,2 +295,6 @@ /**

'JSXFragment > Literal'(node) {
scriptVisitor.JSXText(node);
},
JSXAttribute(node) {

@@ -297,0 +301,0 @@ const attrName = node.name.name;

2

package.json
{
"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',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc