eslint-plugin-build-app
v1.0.2
Published
Eslint plugin for the Build.com React Native app
Downloads
21
Maintainers
Readme
eslint-plugin-build-app
Eslint plugin for the Build.com React Native app
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-build-app
:
$ npm install eslint-plugin-build-app --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-build-app
globally.
Usage
Add build-app
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"build-app"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"build-app/rule-name": 2
}
}
Supported Rules
- Ensure that specified components have the accessibilityLabel prop (jsx-require-prop-accessibility-label)