{"library":"metro-eslint","title":"metro-eslint","description":"Metro is the JavaScript bundler for React Native, providing fast reload cycles, scalable module bundling, and deep integration with React Native projects. This package, metro-eslint, is an ESLint plugin for Metro. Current stable version is 0.84.3 (released regularly, with breaking changes only in major versions). Key differentiators: sub-second HMR, built-in support for React Native's platform-specific extensions, and advanced caching. Alternatives: Webpack with React Native web support, but Metro is the default and recommended bundler for React Native. This specific package provides ESLint rules tailored to Metro's resolution and configuration.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install metro-eslint"],"cli":null},"imports":["import metroPlugin from 'metro-eslint'","import { configs } from 'metro-eslint'","import { rules } from 'metro-eslint'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// Add to .eslintrc.cjs\nmodule.exports = {\n  plugins: ['metro'],\n  extends: ['plugin:metro/recommended'],\n  rules: {\n    'metro/no-env-with-spread': 'error',\n  },\n};","lang":"javascript","description":"Minimal setup for using metro-eslint plugin in an ESLint configuration file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}