Shared ESLint configs for Expo projects, providing a single dependency to set up ESLint with TypeScript, React, and Prettier. Currently at version 15.0.3, it follows Expo's release cadence and updates frequently to align with new ESLint rules and Expo SDK changes. Differentiators include automatic parser detection based on TypeScript usage, built-in support for React Native and React, and seamless integration with Expo's ecosystem. Requires ESLint >=8.10 and Prettier >=3. Notably, the default export provides a comprehensive base config, but developers often misuse the require path or fail to install peer dependencies.
npm install eslint-config-universeVerified import paths — ran on the pinned version, not inferred.
Sets up ESLint with Expo's recommended config. Requires installing peer deps and correct extends path.
Update your ESLint config: use 'universe' for RN or 'universe/web' for web projects.
Use 'universe' or customize with 'universe/shared/typescript' as needed.
Install prettier: npm install --save-dev prettier
Use ELLint 8.x or stick with legacy config until flat config support is added.
Run npm install --save-dev eslint-config-universe
npm install --save-dev prettier
Update eslint-plugin-react to the version required by eslint-config-universe.