mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-28 10:33:02 -05:00
fix: re-disable no-unused-vars eslint rule
This commit is contained in:
@@ -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',
|
||||
|
||||
|
||||
@@ -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.");
|
||||
Reference in New Issue
Block a user