Angular 2 - Receiving TSLint errors in my node_modules folder

531
March 06, 2017, at 4:12 PM

I just installed this angular2-material-datepicker using NPM. It's installed in my node_modules folder, however I receive tslint errors which I shouldn't be getting.

ERROR in ./~/angular2-material-datepicker/index.ts
[1, 15]: ' should be "

However in my tsconfig.json I clearly state that my node_modules folder should be excluded.

{
  "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 confirmed that the module is located in my node_module folder. This is the first module which gives me these errors.

Any idea for possible solutions?

thanks!

Rent Charter Buses Company
READ ALSO
javascript - Split a string by multiple control chracters using regex

javascript - Split a string by multiple control chracters using regex

I'm having trouble formating a string in javascriptIdeallly I would like to split it but just replacing the control characters would be a bonus

506
Angular2 google maps - fitbounds work only when refresh the page

Angular2 google maps - fitbounds work only when refresh the page

well its about 3 hours that i'm lost with my bugi'm using google maps api (sebm-google-maps) and google maps directions, i getting from the db route lat,lng + waypoints, and set it in my code

623
How to link the JGraph sensor and Java mail?

How to link the JGraph sensor and Java mail?

I have problem a to link the jgraph and the java mailThe program is about, if the temperature is more than 60 Celsius, the program will send alert to my email

403