forked from zwave-js/zwave-js
-
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.
chore: format most files using
dprint
instead of Prettier (zwave-js…
- Loading branch information
Showing
530 changed files
with
16,180 additions
and
14,365 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
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,69 @@ | ||
{ | ||
"lineWidth": 80, | ||
"useTabs": true, | ||
"indentWidth": 4, | ||
"newLineKind": "lf", | ||
|
||
"typescript": { | ||
"semiColons": "prefer", | ||
"quoteStyle": "alwaysDouble", | ||
"module.sortImportDeclarations": "caseSensitive", | ||
"importDeclaration.sortNamedImports": "caseSensitive", | ||
"module.sortExportDeclarations": "caseSensitive", | ||
"exportDeclaration.sortNamedExports": "caseSensitive", | ||
"arrowFunction.useParentheses": "force", | ||
// Preserve maximum overlap with the current formatter, | ||
// then consider turning these off one by one. | ||
// "operatorPosition": "sameLine", | ||
"conditionalExpression.operatorPosition": "nextLine", | ||
"conditionalType.operatorPosition": "nextLine", | ||
"constructorType.spaceAfterNewKeyword": true, | ||
"constructSignature.spaceAfterNewKeyword": true, | ||
"binaryExpression.linePerExpression": true, | ||
"quoteProps": "asNeeded" | ||
}, | ||
|
||
"json": {}, | ||
|
||
"markdown": {}, | ||
|
||
"prettier": { | ||
"associations": [ | ||
// Prettier formats those better | ||
"packages/nvmedit/test/fixtures/**/*.json", | ||
"**/*.yml", | ||
"**/*.yaml" | ||
], | ||
|
||
"semi": true, | ||
"trailingComma": "all", | ||
"singleQuote": false, | ||
"printWidth": 80, | ||
"endOfLine": "lf", | ||
|
||
"yml.useTabs": false, | ||
"yml.tabWidth": 2, | ||
"yml.singleQuote": true | ||
}, | ||
|
||
"excludes": [ | ||
"**/build", | ||
"**/node_modules", | ||
"**/package.json", | ||
"**/*-lock.json", | ||
".github/workflows", | ||
".yarn/plugins", | ||
".yarn/releases", | ||
".tmp/", | ||
"cache/", | ||
"packages/*/api.md", | ||
"CHANGELOG*.md", | ||
".yarnrc.yml" | ||
], | ||
"plugins": [ | ||
"https://github.com/AlCalzone/dprint-plugin-typescript/releases/download/loop-label/dprint_plugin_typescript.wasm", | ||
"https://plugins.dprint.dev/json-0.17.4.wasm", | ||
"https://plugins.dprint.dev/markdown-0.15.3.wasm", | ||
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe" | ||
] | ||
} |
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
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
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 |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: "Z-Wave JS Bot" | ||
description: "Contains the actions the Bot can execute" | ||
author: "AlCalzone" | ||
name: 'Z-Wave JS Bot' | ||
description: 'Contains the actions the Bot can execute' | ||
author: 'AlCalzone' | ||
inputs: | ||
githubToken: | ||
description: "The github token to use for authentication" | ||
description: 'The github token to use for authentication' | ||
required: true | ||
npmToken: | ||
description: "The token used to publish to npm" | ||
description: 'The token used to publish to npm' | ||
required: true | ||
task: | ||
description: "What the bot is supposed to do" | ||
description: 'What the bot is supposed to do' | ||
required: true | ||
pr: | ||
description: "(publish-pr task only) The PR that should be published" | ||
description: '(publish-pr task only) The PR that should be published' | ||
required: false | ||
runs: | ||
using: "node16" | ||
main: "main.js" | ||
using: 'node16' | ||
main: 'main.js' |
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
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
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
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
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.