I have a repository with Codacy incorporated to check the quality of my code. When trying to do a commit I'm getting these two errors that I don't know how to fix... any help?
Expected property shorthand.
in this line: this.state.notifications.push({name: name, url: inboxFolder.files[parseInt(index)].url});
Found fs.readFile with non literal argument at index 0
in this line: let fol = await this.fc.readFile(url.toString());