Skip to content

Commit

Permalink
Add tslint
Browse files Browse the repository at this point in the history
Probably the most controversial change here is that I have a max line
length limit, currently set to 140 columns. Lines that set up a
string buffer, lines involving regexes, and the text parser's replace
chains are excluded from the limit.

PS has otherwise been moving towards a line length limit, it just
hasn't been linter-enforced yet. I worry about contributors being
annoyed by it, especially since it's not like it's handled
automatically by Prettier or something.

Oh well, it's set to "warning" so Travis won't yell about it.
  • Loading branch information
Zarel committed Nov 16, 2018
1 parent f8ce209 commit 8669bae
Show file tree
Hide file tree
Showing 10 changed files with 6,469 additions and 6,360 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslint": "^4.11.0",
"mocha": "^5.2.0",
"preact": "^8.3.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"private": true
Expand Down
Loading

0 comments on commit 8669bae

Please sign in to comment.