Skip to content

A local-first personal finance app

fix: re-disable no-unused-vars eslint rule

Matiss Janis Aboltinse4cd389510e1
diff --git a/.eslintrc.js b/.eslintrc.js
index 4597913cd8..42158f30fe 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -3,6 +3,7 @@ module.exports = {
extends: ['react-app'],
rules: {
'prettier/prettier': 'error',
+ 'no-unused-vars': 'off', // TODO: re-enable once issues are fixed
'no-loop-func': 'off',
'no-restricted-globals': 'off',
diff --git a/packages/mobile/nodejs-assets/nodejs-project/sample-main.js b/packages/mobile/nodejs-assets/nodejs-project/sample-main.js
index 649b9d6c17..ba11bd5b8b 100644
--- a/packages/mobile/nodejs-assets/nodejs-project/sample-main.js
+++ b/packages/mobile/nodejs-assets/nodejs-project/sample-main.js
@@ -1,12 +1,12 @@
-// Rename this sample file to main.js to use on your project.
-// The main.js file will be overwritten in updates/reinstalls.
-
-var rn_bridge = require('rn-bridge');
-
-// Echo every message received from react-native.
-rn_bridge.channel.on('message', (msg) => {
- rn_bridge.channel.send(msg);
-} );
-
-// Inform react-native node is initialized.
+// Rename this sample file to main.js to use on your project.
+// The main.js file will be overwritten in updates/reinstalls.
+
+var rn_bridge = require('rn-bridge');
+
+// Echo every message received from react-native.
+rn_bridge.channel.on('message', (msg) => {
+ rn_bridge.channel.send(msg);
+} );
+
+// Inform react-native node is initialized.
rn_bridge.channel.send("Node was initialized.");
\ No newline at end of file