From 5227b89ab69c57ab7c6d99019b8fc5c41d863493 Mon Sep 17 00:00:00 2001 From: Frank Calise Date: Thu, 14 Dec 2023 19:42:10 -0500 Subject: [PATCH] fix(boilerplate): set up eslint-plugin-reactotron (#2589 by @frankcalise) [skip ci] --- boilerplate/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/boilerplate/package.json b/boilerplate/package.json index d96801c54..06c2a59d6 100644 --- a/boilerplate/package.json +++ b/boilerplate/package.json @@ -88,6 +88,7 @@ "eslint-plugin-promise": "6.0.0", "eslint-plugin-react": "7.30.0", "eslint-plugin-react-native": "4.0.0", + "eslint-plugin-reactotron": "^0.1.1", "jest": "^29.2.1", "jest-expo": "49.0.0", "patch-package": "6.4.7", @@ -131,7 +132,8 @@ "plugins": [ "@typescript-eslint", "react", - "react-native" + "react-native", + "reactotron" ], "parserOptions": { "ecmaFeatures": { @@ -186,7 +188,8 @@ "react-native/no-raw-text": 0, "react/no-unescaped-entities": 0, "react/prop-types": 0, - "space-before-function-paren": 0 + "space-before-function-paren": 0, + "reactotron/no-tron-in-production": "error" } } }