After installing the angular2-material-datepicker via NPM, it is now in my project's node_modules
folder. However, I am encountering tslint errors that should not be happening.
ERROR in ./~/angular2-material-datepicker/index.ts
[1, 15]: ' should be "
Even though my tsconfig.json
clearly specifies to exclude the node_modules
directory.
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [ "es2016", "dom" ],
"noImplicitAny": true,
"noImplicitReturns": true,
"suppressImplicitAnyIndexErrors": true,
"skipLibCheck": true
},
"include": [
"client/**/*"
],
"exclude": [ "node_modules", "dist" ]
}
I have verified that the module is indeed in the node_module
folder. This is the first time a module is causing these issues for me.
Any suggestions for potential solutions?
Thanks!