Skip to main content
Logo Appt Light

Linting on React Native

Linting is the process of running a tool which analyzes your code for potential errors. Generally, each problem detected by the tool is reported with a description message and a severity level. This allows you to quickly prioritize the critical improvements that need to be made. Everyone benefits from higher code quality, plus it improves the accuracy of assistive technologies.

React Native ships a built-in linter named ESLint.

If possible, always update React Native to the newest version.

Avoid errors with automated testing. Follow the Testing guide to get started.

npx eslint "project/**"

Feedback?

Let us know!