
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@gitlab/eslint-plugin-i18n
Advanced tools
Detect and autofix strings which require externalization in Vanilla JS files.
Detect and autofix strings which require externalization in Vanilla JS files.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @gitlab/eslint-plugin-i18n:
$ npm install @gitlab/eslint-plugin-i18n --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install @gitlab/eslint-plugin-i18n globally.
Add @gitlab/eslint-plugin-i18n to the plugins section of your .eslintrc configuration file. You can omit the @gitlab/eslint-plugin- prefix:
JSON:
{
"plugins": ["@gitlab/i18n"]
}
YAML:
plugins:
- @gitlab/i18n
Then configure the rules you want to use under the rules section.
JSON:
{
"rules": {
"@gitlab/i18n/no-non-i18n-strings": "error"
}
}
YAML:
rules:
"@gitlab/i18n/no-non-i18n-strings": error
@gitlab/eslint-plugin-i18n can also detect strings requiring externalization for code within the <script></script> tags of a .vue file.
.vue to your linting configurationtext.html.vue to your list of scopesPlease refer to gitlab-ce's CONTRIBUTING.md for details on our guidelines.
FAQs
Detect and autofix strings which require externalization in Vanilla JS files.
We found that @gitlab/eslint-plugin-i18n demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.