Closed sanex3339 closed 6 years ago
Can you run it with the CLI to get a better stack trace?
No error via CLI. Maybe this error related with integration between ts-lint@5.9.0
and tslint-webpack-plugin@1.0.0
?
In 5.9.1 still this error.
I took a brief look at tslint-webpack-plugin and couldn't see any problems immediately. Note that the package looks somewhat outdated and seems to use what is considered private API (it imports from "tslint/lib/runner"
). I could help you further if you had a more verbose stack trace.
@sanex3339 I've had the same problem, the workaround is:
new TSLintPlugin({
files: ['./src/**/*.ts'],
exclude: [] // add this empty array option
})
Going to close this issue as it appears to be resolved by @peterreisz 's comment above.
Bug Report
TypeScript code being linted
this project https://github.com/javascript-obfuscator/javascript-obfuscator/tree/master/src
with
tslint.json
configuration: https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/tslint.jsonActual behavior
error
Expected behavior
no errors
Description
After updating from 5.8.0 to new 5.9.0 version i got this error.
ts-lint
is running viatslint-webpack-plugin@1.0.0