JSLint – ignore sections of code

You can add this yourself to JSLint if you want, though that’s borderline Evil. Here’s one quick and dirty way with the current version: The route I’m going to take is to hijack the token function’s switch block for /* style comments. That’s at line 1276 currently: case ‘/*’: for (;;) { i = source_row.search(lx); … Read more

Angular-cli : Using ng lint

Updated answer for Angular CLI v6.x, 7.x, 8.x: ng lint <project-name> –fix where <project-name> is “name:” from package.json — answer for Angular CLI v1.x — ng lint -fix — Original answer below — To have tslint autofix many errors run the following in the root of your code. Obviously it can only autofix simpler issues … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)