Title: Lint errors shown as syntax errors in editors · Issue #10727 · angular/angular-cli · GitHub
Open Graph Title: Lint errors shown as syntax errors in editors · Issue #10727 · angular/angular-cli
X Title: Lint errors shown as syntax errors in editors · Issue #10727 · angular/angular-cli
Description: Versions cli v6.0.0 Repro steps ng new helloworld In an editor like Visual Studio Code, do something not respecting lint rules (like an expression not terminated by a semicolon) Observed behavior An error, similar to a syntax error, is d...
Open Graph Description: Versions cli v6.0.0 Repro steps ng new helloworld In an editor like Visual Studio Code, do something not respecting lint rules (like an expression not terminated by a semicolon) Observed behavior A...
X Description: Versions cli v6.0.0 Repro steps ng new helloworld In an editor like Visual Studio Code, do something not respecting lint rules (like an expression not terminated by a semicolon) Observed behavior A...
Opengraph URL: https://github.com/angular/angular-cli/issues/10727
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lint errors shown as syntax errors in editors","articleBody":"### Versions\r\n```\r\ncli v6.0.0\r\n```\r\n\r\n### Repro steps\r\n* `ng new helloworld`\r\n* In an editor like Visual Studio Code, do something not respecting lint rules (like an expression not terminated by a semicolon) \r\n\r\n### Observed behavior\r\nAn error, similar to a syntax error, is displayed (in red).\r\n\r\n### Desired behavior\r\nShould display a warning (in green).\r\n\r\n### Mention any other details that might be useful (optional)\r\nThis issue is here for a long time, and has already been discussed in angular/devkit#269.\r\n\r\nAgain, I'm animating a lot of Angular courses, and it's **really** disturbing for new comers. And to back up my opinion, Vue.js is configuring lint errors as warnings, as I advocated.\r\n\r\nSolution firstly proposed in PR angular/devkit#463, but ignored for a long time, redone in angular/devkit#867 for CLI v6. Now that 6.0 is released, would be nice to be tracked for 6.1. It's keeping the current behavior for `ng lint`, and change to warnings only in the editor.","author":{"url":"https://github.com/cyrilletuzi","@type":"Person","name":"cyrilletuzi"},"datePublished":"2018-05-08T12:26:27Z","url":"https://github.com/angular/angular-cli/issues/10727"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4e9ea0c4-bce5-5e08-7781-cdcc4d2e22e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB54:14EB6E:120856F:17C106B:6B01E44D |
| html-safe-nonce | 85c9460154c6466200754a76cbccd9e82b91dcf184d18b6df38d85040e06afd4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjU0OjE0RUI2RToxMjA4NTZGOjE3QzEwNkI6NkIwMUU0NEQiLCJ2aXNpdG9yX2lkIjoiNjIwMTU3MzU4NDgwOTM1NDMxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 275f5c8482832308311d8f899805cec64e57cf6a27c47c12de3a6b3502d10c33 |
| hovercard-subject-tag | issue:321165034 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/10727/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ae84b04ff826d9ebc2a77ec50ec3abb417089de4b1de02f304e6db5e425b5fe/angular/angular-cli/issues/10727 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ae84b04ff826d9ebc2a77ec50ec3abb417089de4b1de02f304e6db5e425b5fe/angular/angular-cli/issues/10727 |
| og:image:alt | Versions cli v6.0.0 Repro steps ng new helloworld In an editor like Visual Studio Code, do something not respecting lint rules (like an expression not terminated by a semicolon) Observed behavior A... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cyrilletuzi |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width