Skip to content

Commit d790e9d

Browse files
committed
Prettier all-the-things
1 parent b25234c commit d790e9d

File tree

196 files changed

+6038
-2978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+6038
-2978
lines changed

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package*.json
2+
*.md

.prettierrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"printWidth": 120,
3+
"singleQuote": true,
4+
"tabWidth": 4,
5+
"useTabs": false,
6+
"overrides": [
7+
{
8+
"files": ".prettierrc",
9+
"options": { "parser": "json" }
10+
},
11+
{
12+
"files": "*.md",
13+
"options": { "tabWidth": 2 }
14+
}
15+
]
16+
}

.vscode/settings.json

+15
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,20 @@
2121
"properties-order": "alphabetical",
2222
"unspecified-properties-position": "bottom"
2323
},
24+
"tslint.autoFixOnSave": [
25+
"curly",
26+
"eofline",
27+
"linebreak-style",
28+
"trailing-comma",
29+
"no-consecutive-blank-lines",
30+
"no-irregular-whitespace",
31+
"object-literal-key-quotes",
32+
"one-line",
33+
"ordered-imports",
34+
"prefer-method-signature",
35+
"prettiest",
36+
"quotemark",
37+
"whitespace"
38+
],
2439
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
2540
}

BACKERS.md

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ None yet — could be you!
1414
<h2 align="center">Silver Sponsors ($150+)</h2>
1515
None yet &mdash; could be you!
1616

17-
1817
<h2 align="center">Bronze Sponsors ($50+)</h2>
1918

2019
- Michael Duffy

CODE_OF_CONDUCT.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
88

99
Examples of behavior that contributes to creating a positive environment include:
1010

11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
1616

1717
Examples of unacceptable behavior by participants include:
1818

19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
21-
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
2424

2525
## Our Responsibilities
2626

package-lock.json

+27-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -3348,8 +3348,9 @@
33483348
"build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
33493349
"bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
33503350
"clean": "git clean -Xdf",
3351-
"lint": "tslint --project tsconfig.json",
3351+
"lint": "tslint --project tsconfig.json --fix",
33523352
"pack": "vsce package",
3353+
"pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.ts\"",
33533354
"pub": "vsce publish",
33543355
"rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
33553356
"reset": "npm run clean && npm install --no-save",
@@ -3373,13 +3374,15 @@
33733374
"@types/node": "7.0.67",
33743375
"@types/tmp": "0.0.33",
33753376
"husky": "0.14.3",
3377+
"prettier": "1.13.7",
33763378
"ts-loader": "4.4.2",
33773379
"tslint": "5.10.0",
3380+
"tslint-prettiest": "0.0.1",
33783381
"typescript": "2.9.2",
33793382
"uglify-es": "3.3.9",
33803383
"uglifyjs-webpack-plugin": "1.2.7",
33813384
"vscode": "1.1.18",
3382-
"webpack": "4.15.1",
3385+
"webpack": "4.16.0",
33833386
"webpack-cli": "3.0.8",
33843387
"webpack-node-externals": "1.7.2"
33853388
}

0 commit comments

Comments
 (0)