Title: Add "defaultSeverity": "warning" to tslint.json when scaffolding app · Issue #7185 · angular/angular-cli · GitHub
Open Graph Title: Add "defaultSeverity": "warning" to tslint.json when scaffolding app · Issue #7185 · angular/angular-cli
X Title: Add "defaultSeverity": "warning" to tslint.json when scaffolding app · Issue #7185 · angular/angular-cli
Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.2.1 node: 7.10.0 os: win32 x64 Windows 10 Repro steps. Create an app: ng new tempAp...
Open Graph Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.2.1 node: 7.10.0 os: win32 x64 Windows 10 R...
X Description: Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.2.1 node: 7.10.0 os: win32 x64 Windows 1...
Opengraph URL: https://github.com/angular/angular-cli/issues/7185
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add \"defaultSeverity\": \"warning\" to tslint.json when scaffolding app","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n@angular/cli: 1.2.1\r\nnode: 7.10.0\r\nos: win32 x64\r\nWindows 10\r\n\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n1. Create an app: `ng new tempApp`\r\n2. Open any .ts file, e.g. `src/main.ts`\r\n3. Make any change that will break tslint rules, e.g. remove semicolon at the end of any line.\r\n4. Run `ng lint`\r\n5. You get ERROR: \"path to main.ts\"[line, col]: Missing semicolon\r\n\r\n### The log given by the failure.\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\nERROR: C:/Users/Alexander/tempApp/src/main.ts[11, 52]: Missing semicolon\r\n\r\nLint errors found in the listed files.\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nDefault severity for broken tslint rules should be warning. Those red underlines make me feel that I made error, but in fact I just missed some tiny thing. This sometimes is very disturbing. I think, that syntax error or wrong type, missing member etc. error - are real errors, but tslint errors should be warnings by default.\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n\r\n","author":{"url":"https://github.com/EvAlex","@type":"Person","name":"EvAlex"},"datePublished":"2017-07-28T09:07:59Z","url":"https://github.com/angular/angular-cli/issues/7185"}
| 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:0d8b9ece-1d31-39bf-0190-a766b5987a8e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B676:3D97C8:340DBD6:453EF2E:6B01F9FF |
| html-safe-nonce | d1196b094d12be1b367f164ba01568fcd7fef865b9d9c585171bd076eac58c8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjc2OjNEOTdDODozNDBEQkQ2OjQ1M0VGMkU6NkIwMUY5RkYiLCJ2aXNpdG9yX2lkIjoiNDIwODg0NDIzOTkxMzc0NDg5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3ecffc709bca07c88a869980ac10ee6cfe8b529b229b418281d4718cad8ee4e6 |
| hovercard-subject-tag | issue:246289866 |
| 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/7185/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5199ac84e2b5c2b1d33cf6e0f1edc48a15359305b91cd1d9917be2789b59e05b/angular/angular-cli/issues/7185 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5199ac84e2b5c2b1d33cf6e0f1edc48a15359305b91cd1d9917be2789b59e05b/angular/angular-cli/issues/7185 |
| og:image:alt | Bug Report or Feature Request (mark with an x) - [x] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.2.1 node: 7.10.0 os: win32 x64 Windows 10 R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EvAlex |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width