Skip to content

Expo

Use Expo support from the main v2 package. Application projects no longer install a separate @santi020k/eslint-config-expo package.

bash
pnpm add -D @santi020k/eslint-config-basic

The default install above remains recommended. If you use the manual-dependency lite package, install this framework config package too:

bash
pnpm add -D @santi020k/eslint-config-lite @santi020k/eslint-config-expo eslint
import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({
frameworks: {
expo: true
},
typescript: true
})

Most projects can also rely on auto-detection and use eslintConfig() with no framework object.

  • Expo and React rules. React is included automatically.
  • Composition through the same @santi020k/eslint-config-basic entry point as every other framework.
  • Compatibility with advanced overrides if you pass a custom config array or factory instead of true.
  • The internal package still exists in the monorepo for modular development and generated API docs.
  • For the old multi-package installation model, see the v1 Expo guide.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.