An ESLint plugin for Reactotron that provides lint rules to enforce best practices when using Reactotron in React Native or other JavaScript projects. Currently at version 0.1.9, it is part of the Reactotron ecosystem maintained by Infinite Red. The plugin helps catch common mistakes like leaving Reactotron enabled in production code. It ships with TypeScript types and requires reactotron-core-client as a peer dependency. Unlike general ESLint plugins, it is narrowly focused on Reactotron-specific patterns.
npm install eslint-plugin-reactotronVerified import paths — ran on the pinned version, not inferred.
Basic ESLint configuration to enable the reactotron plugin and enforce the 'no-reactotron-in-production' rule.
Install reactotron-core-client as a dependency: npm install reactotron-core-client
Use 'reactotron/no-production' instead.
Upgrade to v0.1.9 or later to avoid CommonJS compatibility issues.
Run 'npm install reactotron-core-client' in your project.
Ensure 'eslint-plugin-reactotron' is installed and added to the 'plugins' array in your ESLint config.