Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 1.1.0 to 1.1.1

2

package.json
{
"name": "eslint-plugin-i18next",
"version": "1.1.0",
"version": "1.1.1",
"description": "ESLint plugin for i18n",

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

@@ -44,2 +44,16 @@ # eslint-plugin-i18next

The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
Literay strings that are not constant string (all characters are `UPPERCASE`) are typically mistakes. For example:
```js
const foo = 'foo';
```
They are frowned upon in favor of internationalization:
```js
const foo = i18next.t('foo'); // wrapped by i18n translation function
```
### Rule Details

@@ -46,0 +60,0 @@

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