eslint-plugin-onlyi18n
only accept i18n variable in JSX value
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-onlyi18n
:
$ npm install eslint-plugin-onlyi18n --save-dev
Usage
Add entry-task-only-i18n-mark-chen
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
Then configure the rules you want to use under the rules section.
Supported Rules
- Fill in provided rules here