https://github.com/deadlybyte/eslint-plugin-jsx-form
Static AST checker for HTML form rules on JSX elements.
https://github.com/deadlybyte/eslint-plugin-jsx-form
eslint eslint-config eslint-jsx-plugin eslint-rules html-form
Last synced: 5 days ago
JSON representation
Static AST checker for HTML form rules on JSX elements.
- Host: GitHub
- URL: https://github.com/deadlybyte/eslint-plugin-jsx-form
- Owner: deadlybyte
- License: mit
- Created: 2019-02-17T00:17:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T19:33:26.000Z (over 7 years ago)
- Last Synced: 2025-08-09T05:48:15.526Z (12 months ago)
- Topics: eslint, eslint-config, eslint-jsx-plugin, eslint-rules, html-form
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/eslint-plugin-jsx-form
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-plugin-jsx-form
Static AST checker for HTML form rules on JSX elements.
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```
Next, install `eslint-plugin-jsx-form`:
```
$ npm install eslint-plugin-jsx-form --save-dev
```
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-jsx-form` globally.
## Usage
Add `jsx-form` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": ["jsx-form"]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"jsx-form/rule-name": 2
}
}
```
## Supported Rules
- email-disable-autocapitalize
- email-disable-spellcheck
- username-disable-autocapitalize
- username-disable-autocorrect
- username-disable-spellcheck