forked from palantir/tslint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade prettier and run over all files
palantir#4012 added prettier support but then didn't run it over everything and turned it on for YAML files despite using a version that doesn't support YAML. This: * Upgrades Prettier to 1.14 whic adds yml support. * Turns on `trailing commas = all` as that seems to be what most of the code is doing. * Runs prettier over everything This also has the bonus of making future PRs much smaller.
- Loading branch information
Andrew Boyton
committed
Oct 9, 2018
1 parent
237fd90
commit 0db276b
Showing
28 changed files
with
1,840 additions
and
972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"tabWidth": 4, | ||
"printWidth": 100 | ||
"printWidth": 100, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,19 @@ | |
title: TSLint | ||
email: [email protected] | ||
description: > # this means to ignore newlines until "baseurl:" | ||
TSLint documentation. A linter for the TypeScript language. | ||
TSLint documentation. A linter for the TypeScript language. | ||
baseurl: "/tslint" # the subpath of your site, e.g. /blog/ | ||
url: "https://palantir.github.io/" # the base hostname & protocol for your site | ||
twitter_username: PalantirTech | ||
github_username: palantir/tslint | ||
github_username: palantir/tslint | ||
|
||
# Build settings | ||
markdown: kramdown | ||
markdown_ext: md | ||
exclude: [vendor] | ||
|
||
page_gen: | ||
- data: rules | ||
template: rule | ||
name: ruleName | ||
dir: rules | ||
- data: rules | ||
template: rule | ||
name: ruleName | ||
dir: rules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.