Closed
Description
It seems that the ESLint core rules are currently working on supporting TypeScript syntax.
It seems that this package does not handle TypeScript syntax well in some patterns, but it would be good if it could cover those.
However, I'm not yet sure what kind of problems it has.
At least the n/no-deprecated-api
rule of eslint-plugin-n does not seem to handle the following expression using !
well. I think this is because this package does not support TypeScript syntax.
/* eslint "n/no-deprecated-api": "error" */
const fs = require("fs");
fs.exists("./foo.js", function() {}); // Reported
fs!.exists("./foo.js", function() {}); // Ignore?
@JoshuaKGoldberg Do you have any information regarding this?