Détail du package

eslint-plugin-reactotron

infinitered37kMIT0.1.9

An ESLint plugin for Reactotron.

readme

eslint-plugin-reactotron

ESLint plugin containing rules to help with Reactotron code within your project

Installing

npm i --save-dev eslint-plugin-reactotron
# or
yarn add -D eslint-plugin-reactotron

Usage

Modify your plugins and rules inside ./eslintrc or eslintConfig inside package.json

"eslintConfig": {
  "plugins": [
    "reactotron"
  ],
  rules: {
    "reactotron/no-tron-in-production": "error"
  }
}

Rules

no-tron-in-production

Enforces if (__DEV__) around console.tron calls so they are not included in production.

changelog

Changelog

This file was generated using @jscutlery/semver.

0.1.9 (2025-09-19)

Bug Fixes

0.1.8 (2025-09-16)

0.1.7 (2025-03-01)

0.1.6 (2025-01-07)

Bug Fixes

  • package.json: remove "react-native" export condition (#1530) (47be69f)

0.1.5 (2024-08-26)

0.1.4 (2024-02-14)

0.1.3 (2024-02-14)

0.1.2 (2024-01-25)

Bug Fixes

  • architecture: Attempt to mitigate compiler error: Error: Default condition should be last one (#1423) (2c7e678)

0.1.1 (2023-12-14)

0.1.0 (2023-12-13)

Features