Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonardodino/eslint-plugin-react-intl-static
:nerd_face: eslint rules for react-intl static analysis on messages
https://github.com/leonardodino/eslint-plugin-react-intl-static
eslint react-intl
Last synced: 20 days ago
JSON representation
:nerd_face: eslint rules for react-intl static analysis on messages
- Host: GitHub
- URL: https://github.com/leonardodino/eslint-plugin-react-intl-static
- Owner: leonardodino
- License: mit
- Created: 2020-01-16T20:27:20.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T09:38:27.000Z (about 1 year ago)
- Last Synced: 2024-12-06T21:51:07.646Z (about 1 month ago)
- Topics: eslint, react-intl
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/eslint-plugin-react-intl-static
- Size: 244 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-react-intl-static
[![npm](https://img.shields.io/npm/v/eslint-plugin-react-intl-static)](https://www.npmjs.com/package/eslint-plugin-react-intl-static)
[![Build Status](https://github.com/leonardodino/eslint-plugin-react-intl-static/actions/workflows/ci.yml/badge.svg)](https://github.com/leonardodino/eslint-plugin-react-intl-static/actions/workflows/ci.yml)
[![Code Coverage](https://badgen.net/codecov/c/github/leonardodino/eslint-plugin-react-intl-static)](https://app.codecov.io/gh/leonardodino/eslint-plugin-react-intl-static)rules to enforce statically analysable react-intl usage.
# Roadmap
### v0.0.0
- [x] detect basic violations in ``
- [x] detect basic violations in `formatMessage({})`
- [x] detect basic violations in `defineMessages({})`
- [x] basic fixes for ``
- [x] basic fixes for `formatMessage({})`
- [x] basic fixes for `defineMessages({})`
- [x] handle basic interaction of `defineMessages` + `formatMessage`
- [x] handle fallback interaction of `defineMessages` + `formatMessage`
- [x] add option for allowing computed keys in `defineMessages`### v0.0.1
- [x] follow [default eslint repo format](https://github.com/eslint/generator-eslint)
- [x] add [tests](https://eslint.org/docs/developer-guide/nodejs-api#ruletester)### v0.0.2
- [x] improve `eslint` version compatibility
- [ ] add docs### v0.1.0
- [ ] disallow renaming/aliasing of functions/imports
- [ ] disallow passing `formatMessage` as a positional argument### v0.2.0
- [ ] move to typescript
- [ ] remove this roadmap### v0.3.0
- [ ] separate useful functions into it's own package
- [ ] monorepo, maybe :thinking: