Expo
Package: @santi020k/eslint-config-expo
Use the Expo package for Expo or React Native projects that need the shared baseline plus Expo-specific rules.
Install
Section titled “Install”pnpm add -D @santi020k/eslint-config-expo @santi020k/eslint-config-reactnpm install -D @santi020k/eslint-config-expo @santi020k/eslint-config-reactyarn add -D @santi020k/eslint-config-expo @santi020k/eslint-config-reactbun add -d @santi020k/eslint-config-expo @santi020k/eslint-config-reactExpo requires the React package explicitly.
Configure
Section titled “Configure”import { eslintConfig } from '@santi020k/eslint-config-basic'import expo from '@santi020k/eslint-config-expo'import react from '@santi020k/eslint-config-react'
export default eslintConfig({ frameworks: { expo, react }, typescript: true})What It Adds
Section titled “What It Adds”- Expo-specific linting on top of the shared config stack.
- An explicit React dependency so React and Expo stay aligned in the final config.
- CLI support that scaffolds both
expoandreactimports together when Expo is detected.
- Expo projects usually also enable TypeScript.
- The main package throws a helpful error if
frameworks.expois provided withoutframeworks.react.
Repository Links
Section titled “Repository Links”- Source Package: packages/expo
- Playground: packages/playground/expo
Related Pages
Section titled “Related Pages”Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.