
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.
eslint-plugin-react-intl-format
Advanced tools
This is a plugin to ensure that Intl translations are being made correctly with react-intl. Since they should be stored in an object for translation, this disables plain text between html tags.
There are three options to enable, and we recommend enabling all of them to ensure proper translations in all languages.
The { noTrailingWhitespace: true } option is set by default and is not necessary to declare in the rules section.
This is recommended as some languages don't have spaces between words.
Additionally, the option ignoreLinks is set to true by default. Depending on your
use case, you may want to disable this.
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-react-intl-format:
$ npm install eslint-plugin-react-intl-format --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-react-intl-format globally.
Add react-intl-format to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"react-intl-format"
]
}
Then configure the rules you want to use under the rules section. Currently there's just one rule: 'missing-formatted-message'.
{
"rules": {
"react-intl-format/missing-formatted-message": [2, { noTrailingWhitespace: true, ignoreLinks: true }],
"react-intl-format/missing-attribute": [2, { noTrailingWhitespace: true }],
"react-intl-format/missing-values": 2
}
}
FAQs
Linter for React-Intl integration
The npm package eslint-plugin-react-intl-format receives a total of 21 weekly downloads. As such, eslint-plugin-react-intl-format popularity was classified as not popular.
We found that eslint-plugin-react-intl-format demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.