Skip to content

Commit

Permalink
Prettier all-the-things
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jul 12, 2018
1 parent b25234c commit d790e9d
Show file tree
Hide file tree
Showing 196 changed files with 6,038 additions and 2,978 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package*.json
*.md
16 changes: 16 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"printWidth": 120,
"singleQuote": true,
"tabWidth": 4,
"useTabs": false,
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
},
{
"files": "*.md",
"options": { "tabWidth": 2 }
}
]
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,20 @@
"properties-order": "alphabetical",
"unspecified-properties-position": "bottom"
},
"tslint.autoFixOnSave": [
"curly",
"eofline",
"linebreak-style",
"trailing-comma",
"no-consecutive-blank-lines",
"no-irregular-whitespace",
"object-literal-key-quotes",
"one-line",
"ordered-imports",
"prefer-method-signature",
"prettiest",
"quotemark",
"whitespace"
],
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
}
1 change: 0 additions & 1 deletion BACKERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ None yet — could be you!
<h2 align="center">Silver Sponsors ($150+)</h2>
None yet &mdash; could be you!


<h2 align="center">Bronze Sponsors ($50+)</h2>

- Michael Duffy
Expand Down
20 changes: 10 additions & 10 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo

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

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

Examples of unacceptable behavior by participants include:

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

## Our Responsibilities

Expand Down
41 changes: 27 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3348,8 +3348,9 @@
"build-ui": "webpack --context ./src/ui --config ./src/ui/webpack.config.js",
"bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production",
"clean": "git clean -Xdf",
"lint": "tslint --project tsconfig.json",
"lint": "tslint --project tsconfig.json --fix",
"pack": "vsce package",
"pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.ts\"",
"pub": "vsce publish",
"rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run build-ui",
"reset": "npm run clean && npm install --no-save",
Expand All @@ -3373,13 +3374,15 @@
"@types/node": "7.0.67",
"@types/tmp": "0.0.33",
"husky": "0.14.3",
"prettier": "1.13.7",
"ts-loader": "4.4.2",
"tslint": "5.10.0",
"tslint-prettiest": "0.0.1",
"typescript": "2.9.2",
"uglify-es": "3.3.9",
"uglifyjs-webpack-plugin": "1.2.7",
"vscode": "1.1.18",
"webpack": "4.15.1",
"webpack": "4.16.0",
"webpack-cli": "3.0.8",
"webpack-node-externals": "1.7.2"
}
Expand Down
Loading

0 comments on commit d790e9d

Please sign in to comment.