-
Looking for an option to not indent cases:
```js
switch(type) {
case "one":
// ...
case "two": {
let foo = "bar"
// ...
break
}
case "three": {
let something = "here"
// ...
…
-
Hi,
the tslint-loader doen't check Rules in my typescript interfaces:
```
import {Component} from '@angular/core';
export interface Test {
Test : string;
}
```
Running tslint standalone results i…
-
### Is this a bug report?
Yes
### Can you also reproduce the problem with npm 4.x?
Yes
### Which terms did you search for in User Guide?
Not really relevant, it's a TypeScript specific issue.…
-
Here's what I see in the developer tools:
```
Extension host (LocalProcess) terminated unexpectedly. Code: 7, Signal: null
log.ts:313 ERR Extension host (LocalProcess) terminated unexpectedly. …
dsyer updated
2 years ago
-
As of recent updates over the past few months, the TypeScript-core team has contributed to eslint to support directly linting TypeScript code. Context: [Announcement Post](https://eslint.org/blog/2019…
-
It's either something wrong with my `tslint.json` (which used to work before I upgraded many packages) or it's a bug.
### Is this a bug report?
Yes
### Can you also reproduce the problem …
-
It would be useful to have the expect tslint rule published independently, so it can be used in tslint projects. https://github.com/palantir/tslint/issues/2114
Would this be difficult to do, or is …
-
### I'm submitting a
Regression (a behavior that used to work and stopped working in a new release)
### Current behavior
The view switches from viewMode template to editMode template, but then neit…
-
Hi,
As I was going through the codebase, I realized that, some improvements can be made to improve semnatics like:
- use enums for constants rather than class.
- correct usage of abstract classes…
-
参考文章:
[一键格式化代码带来的快感|你还在为每个项目配置Stylelint和Eslint吗](https://mp.weixin.qq.com/s/nWpD2uXgoxYHNDtWW1W3yw) 公众号: IQ前端
> 千万不能自私
四大前端代码校验工具: `Stylelint`、`Eslint`、`Tslint`、`Prettier`。
通过预设规则校验代码,检测其是否…