Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prettier config file #185

Merged
merged 2 commits into from Aug 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .prettierrc.yml
@@ -0,0 +1,6 @@
singleQuote: false
trailingComma: es5
semi: true
proseWrap: always
endOfLine: auto
arrowParens: avoid
4 changes: 2 additions & 2 deletions lib/registry.ts
Expand Up @@ -36,7 +36,7 @@ export enum RegistryValueType {
REG_NONE = "REG_NONE",
REG_QWORD = "REG_QWORD",
REG_QWORD_LITTLE_ENDIAN = "REG_QWORD_LITTLE_ENDIAN",
REG_SZ = "REG_SZ"
REG_SZ = "REG_SZ",
}

export type RegistryStringEntry = {
Expand Down Expand Up @@ -64,7 +64,7 @@ export enum HKEY {
HKEY_PERFORMANCE_DATA = "HKEY_PERFORMANCE_DATA",
HKEY_PERFORMANCE_TEXT = "HKEY_PERFORMANCE_TEXT",
HKEY_PERFORMANCE_NLSTEXT = "HKEY_PERFORMANCE_NLSTEXT",
HKEY_USERS = "HKEY_USERS"
HKEY_USERS = "HKEY_USERS",
}

function mapToLong(key: HKEY): number {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
"jest": "^24.0.0",
"node-abi": "2.18.0",
"prebuild": "^10.0.0",
"prettier": "^1.14.2",
"prettier": "^2.0.5",
"ts-node": "^8.0.1",
"typescript": "^3.0.1"
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -3430,10 +3430,10 @@ prelude-ls@~1.1.2:
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=

prettier@^1.14.2:
version "1.18.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
prettier@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==

pretty-format@^24.8.0:
version "24.8.0"
Expand Down