Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@yanotec/eslint-config-react-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Yanotec ESLint config for React-Native apps
Whats included?
- Airbnb config base;
- Prettier;
Setup
- Install the dependencies
npm i -D eslint @yanotec/eslint-config-react-native
- Create a
.eslintrc.json
file extending the config:
for ts project
{
"extends": "@yanotec/eslint-config-react-native/ts-recommended"
}
or js project
{
"extends": "@yanotec/eslint-config-react-native/js-recommended"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.