Skip to content
Snippets Groups Projects
Unverified Commit e4cd3895 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins
Browse files

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

parent aa1baf83
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ module.exports = { ...@@ -3,6 +3,7 @@ module.exports = {
extends: ['react-app'], extends: ['react-app'],
rules: { rules: {
'prettier/prettier': 'error', 'prettier/prettier': 'error',
'no-unused-vars': 'off', // TODO: re-enable once issues are fixed
'no-loop-func': 'off', 'no-loop-func': 'off',
'no-restricted-globals': 'off', 'no-restricted-globals': 'off',
......
// Rename this sample file to main.js to use on your project. // Rename this sample file to main.js to use on your project.
// The main.js file will be overwritten in updates/reinstalls. // The main.js file will be overwritten in updates/reinstalls.
var rn_bridge = require('rn-bridge'); var rn_bridge = require('rn-bridge');
// Echo every message received from react-native. // Echo every message received from react-native.
rn_bridge.channel.on('message', (msg) => { rn_bridge.channel.on('message', (msg) => {
rn_bridge.channel.send(msg); rn_bridge.channel.send(msg);
} ); } );
// Inform react-native node is initialized. // Inform react-native node is initialized.
rn_bridge.channel.send("Node was initialized."); rn_bridge.channel.send("Node was initialized.");
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment