@elastic/eslint-plugin-react-intl
Advanced tools
Weekly downloads
Readme
Note: This is a fork from http://npmjs.org/package/eslint-plugin-react-intl.
react-intl (2.0) specific linting rules for ESLint
Install ESLint either locally or globally.
$ npm install eslint
If you installed ESLint
globally, you have to install React-intl plugin globally too. Otherwise, install it locally.
$ npm install eslint-plugin-react-intl
Add plugins
section and specify ESLint-plugin-React as a plugin.
{
"plugins": [
"@elastic/eslint-plugin-react-intl"
]
}
If it is not already the case you must also configure ESLint
to support JSX.
With ESLint 1.x.x:
{
"ecmaFeatures": {
"jsx": true
}
}
With ESLint 2.x.x:
{
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
}
defaultMessage
attributes that aren't valid ICU message syntaxformatMessage()
from using literal translations, because there are not picked up by babel-plugin-react-intl.ESLint-plugin-React-intl is licensed under the MIT License.
FAQs
react-intl specific linting rules for ESLint
The npm package @elastic/eslint-plugin-react-intl receives a total of 500 weekly downloads. As such, @elastic/eslint-plugin-react-intl popularity was classified as not popular.
We found that @elastic/eslint-plugin-react-intl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 25 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.