0.0.1 • Published 1 month ago
eslint-plugin-expo v0.0.1
eslint-plugin-expo
ESLint rules for Expo apps
Installation
You'll first need to install ESLint:
npx expo install eslint --save-dev
Next, install eslint-plugin-expo
:
npx expo install eslint-plugin-expo --save-dev
Usage
Add expo
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"expo"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"expo/no-env-var-destructuring": "error",
"expo/no-dynamic-env-var": "error"
}
}
Rules
Name | Description |
---|---|
no-dynamic-env-var | Prevents process.env from being accessed dynamically |
no-env-var-destructuring | Disallow desctructuring of environment variables |
0.0.1-canary-20240418-8d74597
1 month ago
0.0.1-canary-20240415-cca04d8
1 month ago
0.0.1-canary-20240415-0868fc4
1 month ago
0.0.1-canary-20240411-55a0085
1 month ago
0.0.1-canary-20240411-33a7dc1
1 month ago
0.0.1-canary-20240406-a4950c7
1 month ago
0.0.1-canary-20240405-cdfd9c1
2 months ago
0.0.1-canary-20240404-e2b8743
2 months ago
0.0.1-canary-20240328-24ecc5e
2 months ago
0.0.1-canary-20240327-a7302d9
2 months ago
0.0.1
2 months ago
0.0.0
2 years ago