Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AlloyTeam/tslint-config-alloy
Browse files Browse the repository at this point in the history
  • Loading branch information
xcatliu committed Nov 22, 2018
2 parents 1f6dc9a + 7373ef4 commit a0f36e8
Show file tree
Hide file tree
Showing 2 changed files with 360 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AlloyTeam TSLint 规则

与 AlloyTeam ESLint 规则类似,我们仔细研读了 TSLint 所有的配置项,定制出了心目中的「完美」TSLint 配置。
[AlloyTeam ESLint 规则](https://github.com/AlloyTeam/eslint-config-alloy)类似,我们仔细研读了 TSLint 所有的配置项,定制出了心目中的「完美」TSLint 配置。

具体规则和相应解释请看[源码](https://github.com/AlloyTeam/tslint-config-alloy/blob/master/index.js)

Expand All @@ -14,7 +14,7 @@ npm install --save-dev tslint typescript tslint-config-alloy

在你的项目根目录下创建 `tslint.json`,并将以下内容复制到文件中:

```json
```
{
"extends": ["tslint-config-alloy"],
"linterOptions": {
Expand Down Expand Up @@ -62,7 +62,7 @@ npm install --save-dev prettier tslint-config-prettier

然后为 `tslint.config``extends` 添加 `tslint-config-prettier` 即可:

```json
```
{
"extends": ["tslint-config-alloy", "tslint-config-prettier"],
"linterOptions": {
Expand Down
357 changes: 357 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0f36e8

Please sign in to comment.