const fs = require('fs'); const file1 = fs.open('test'); const file1 = fs.open(`test`); const file2 = fs.open(test); ~~~~~~~ [Found fs.open with non-literal argument at index 0] const file2 = fs.open(`${ test }`); ~~~~~~~ [Found fs.open with non-literal argument at index 0] require('fs').symlink(path1, path2); ~~~~~~~~~~~~~~~~~~~~~ [Found fs.symlink with non-literal argument at index 0, 1] fs.symlink('path1', path2); ~~~~~~~~~~ [Found fs.symlink with non-literal argument at index 1] require("fs").symlink(path1, 'path2'); ~~~~~~~~~~~~~~~~~~~~~ [Found fs.symlink with non-literal argument at index 0] require("fs").symlink(path1, `${ path2 }`); ~~~~~~~~~~~~~~~~~~~~~ [Found fs.symlink with non-literal argument at index 0, 1] require("fs").symlink(`${ path1 }`, 'path2'); ~~~~~~~~~~~~~~~~~~~~~ [Found fs.symlink with non-literal argument at index 0] fs.symlink('path1', 'path2'); fs.symlink('path1', `path2`); fs.symlink(`path1`, 'path2'); fs.toString(); const s = 'test'; const o = { open(a: string) {}, }; o.open(s); const _ = require('lodash'); require('lodash-exists'); if (_.exists(memberId)) { this.memberId = memberId; } fs.readFileSync(__dirname + 'filename.txt', 'utf-8') fs.readFileSync(`${__dirname}filename.txt`, 'utf-8') fs.readFileSync(`${__dirname}${path1}.txt`, 'utf-8') ~~~~~~~~~~~~~~~ [Found fs.readFileSync with non-literal argument at index 0]