Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding prettier (not enabling yet) (#100)
* adding prettier (not enabling yet) to format few files only: remove requirePragma from prettier config & run node_modules\.bin\prettier --config prettier.config.js --write --insert-pragma "<path>" & add back the requirePragma config * fixing build break * adding gitattributes file * removing all the rules that have the default values * remove extensions not supported for copyright check
- Loading branch information
1 parent
b2f4ec6
commit 407f724
Showing
7 changed files
with
34 additions
and
229 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
drop/ | ||
dist/ | ||
extension/ | ||
.github/ | ||
test-results/ | ||
|
||
copyright-header.txt | ||
LICENSE | ||
package-lock.json | ||
.prettierignore | ||
|
||
**/*.snap | ||
**/*.png | ||
**/*.gitignore |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
module.exports = { | ||
endOfLine: 'lf', | ||
printWidth: 140, | ||
requirePragma: true, | ||
singleQuote: true, | ||
tabWidth: 4, | ||
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