Closed kasugaiasuka closed 4 years ago
Oops, that is not a minimum code ("async" is not needed.)
$(() => {
});
// Replace HTML string manipulation with jQuery API: $(() => {
//
// })
Looks like regression after migration to the new format.
Previously if first arguments wasn't a string - new walker was created and recursively checked strings for <
or >
characters in string literals, however new one looks for same characters in any expression text.
Good solution will be to check if first argument is a function expression or an arrow function, and only then check recursively as it was in old implementation.
Accepting PRs
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #876. ☠️ We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!
Bug Report
tslint-microsoft-contrib
version: 6.2.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
Expected behavior
No errors. FYI, tslint-microsoft-contrib@6.1.1 is working properly.