Skip to content

Commit aae74d2

Browse files
committed
update README, add missing tslint.json
1 parent 4562913 commit aae74d2

File tree

3 files changed

+83
-6
lines changed

3 files changed

+83
-6
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
Interactive coding tutorials inside of the Atom editor.
44

5+
- [Learn more](https://coderoad.github.io)
56
- [Setup](https://coderoad.github.io/atom-coderoad.html)
67
- [How CodeRoad Works](https://coderoad.github.io/overview.html)
78
- [Docs](https://coderoad.github.io/tutorial-docs.html)
89
- [Tutorials](https://coderoad.github.io/tutorials.html)
9-
- [Learn more](https://coderoad.github.io).
10+
- [Project Board](https://github.com/coderoad/atom-coderoad/projects/1)
11+
1012

1113
![Atom-CodeRoad](https://coderoad.github.io/images/demos/atom-coderoad.gif)

tslint.json

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"extends": ["tslint:latest", "tslint-react"],
3+
"rules": {
4+
"jsx-alignment": true,
5+
"jsx-no-lambda": true,
6+
"jsx-no-string-ref": true,
7+
"jsx-self-close": true,
8+
"align": [true, "parameters", "statements"],
9+
"class-name": true,
10+
"comment-format": [true, "check-space"],
11+
"curly": true,
12+
"eofline": true,
13+
"forin": true,
14+
"indent": [true, "spaces"],
15+
"label-position": true,
16+
"label-undefined": true,
17+
"max-line-length": [true, 140],
18+
"member-ordering": [true,
19+
"public-before-private",
20+
"static-before-instance",
21+
"variables-before-functions"
22+
],
23+
"no-arg": true,
24+
"no-bitwise": true,
25+
"no-console": [true,
26+
"debug",
27+
"info",
28+
"time",
29+
"timeEnd",
30+
"trace"
31+
],
32+
"no-construct": true,
33+
"no-consecutive-blank-lines": true,
34+
"no-debugger": true,
35+
"no-duplicate-key": true,
36+
"no-duplicate-variable": true,
37+
"no-empty": true,
38+
"no-eval": true,
39+
"no-inferrable-types": true,
40+
"no-shadowed-variable": true,
41+
"no-string-literal": true,
42+
"no-switch-case-fall-through": true,
43+
"no-trailing-whitespace": true,
44+
"no-unused-expression": true,
45+
"no-unused-variable": "react",
46+
"no-unreachable": true,
47+
"no-use-before-declare": true,
48+
"no-var-keyword": true,
49+
"object-literal-sort-keys": false,
50+
"one-line": [true,
51+
"check-open-brace",
52+
"check-catch",
53+
"check-else",
54+
"check-finally",
55+
"check-whitespace"
56+
],
57+
"quotemark": [true, "single", "avoid-escape"],
58+
"radix": true,
59+
"semicolon": [true, "always"],
60+
"trailing-comma": [true, {
61+
"singleline": "never"
62+
}],
63+
"triple-equals": [true, "allow-null-check"],
64+
"typedef-whitespace": [true, {
65+
"call-signature": "nospace",
66+
"index-signature": "nospace",
67+
"parameter": "nospace",
68+
"property-declaration": "nospace",
69+
"variable-declaration": "nospace"
70+
}],
71+
"variable-name": [true, "ban-keywords"],
72+
"whitespace": [true,
73+
"check-branch",
74+
"check-decl",
75+
"check-operator",
76+
"check-separator",
77+
"check-type"
78+
]
79+
}
80+
}

typings.json

-5
This file was deleted.

0 commit comments

Comments
 (0)