@notarize/eslint-plugin-react-intl-ensure
v1.6.0
Published
Rules for managing react intl translations
Downloads
3
Readme
Installation
npm i @notarize/eslint-plugin-react-intl-ensure --save-dev
# or
yarn add --dev @notarize/eslint-plugin-react-intl-ensure
Usage
Configure in your eslint config file:
{
"plugins": ["@notarize/react-intl-ensure"],
"rules": {
"@notarize/react-intl-ensure/id-is-valid-uuid": "error"
}
}
Rules
| Name | Description |
| --- | --- |
| @notarize/react-intl-ensure/id-is-valid-uuid
| Require that calls to defineMessages
and FormattedMessage
have UUID IDs. The --fix
option will overwrite the ID with a UUID. |