Open martpie opened 6 years ago
Hello, just reporting a small issue I have.
This is a part of my TSLint config:
{ "linterOptions": { "exclude": [ "node_modules", "target", "src/ui/client/**/*" ] }, ... }
and the directory src/ui/client/**/* is getting linted when using Webpack, but not when running TSLint directly.
src/ui/client/**/*
A workaround was to add this exclude rule in my Webpack config:
{ test: /\.(tsx|ts)?$/, enforce: 'pre', loader: 'tslint-loader', exclude: [ path.resolve(__dirname, 'src/ui/client') ] },
but I would expect tslint-loader to do this automatically. Is this a bug or a feature?
We still have this issue -- is there a fix in the works? :heart:
Hello, just reporting a small issue I have.
This is a part of my TSLint config:
and the directory
src/ui/client/**/*
is getting linted when using Webpack, but not when running TSLint directly.A workaround was to add this exclude rule in my Webpack config:
but I would expect tslint-loader to do this automatically. Is this a bug or a feature?