You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,23 @@
2
2
3
3
A set of tslint rules for static code analysis of Angular 2 TypeScript projects.
4
4
5
+
## Install
6
+
7
+
`npm install --save-dev codelyzer`
8
+
9
+
Then hop to your `tslint.json` and add rulesDirectory which points to codelyzer, like this:
10
+
```json
11
+
{
12
+
"rulesDirectory": [
13
+
"node_modules/codelyzer/dist/src"
14
+
],
15
+
"rules":{
16
+
}
17
+
}
18
+
```
19
+
20
+
Now you can apply codelyzer rules to your tslint config. Enjoy!
21
+
5
22
## Recommended configuration
6
23
7
24
Below you can find a recommended configuration which is based on the [Angular 2 Style Guide](https://github.com/mgechev/angular2-style-guide).
0 commit comments