From b0ca585dd59a84f23801588c04f279101ad8718f Mon Sep 17 00:00:00 2001 From: Nathan Klick Date: Mon, 19 Feb 2024 15:09:25 -0600 Subject: [PATCH] chore: resolve code formatting violations Signed-off-by: Nathan Klick --- .github/pull_request_template.md | 4 +-- .remarkrc.yml | 2 ++ jest.config.mjs | 2 +- package-lock.json | 53 ++++++++++++++++++++++++++++++++ package.json | 3 +- src/commands/init.mjs | 4 +-- 6 files changed, 62 insertions(+), 6 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e4d97dcf0..d5aaddca1 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -2,8 +2,8 @@ This pull request changes the following: -- TBD +* TBD ### Related Issues -- Closes # +* Closes # diff --git a/.remarkrc.yml b/.remarkrc.yml index 737365955..b6ddf5691 100644 --- a/.remarkrc.yml +++ b/.remarkrc.yml @@ -6,3 +6,5 @@ plugins: # list item indentation should be space - - remark-lint-list-item-indent - space + - - remark-lint-unordered-list-marker-style + - consistent diff --git a/jest.config.mjs b/jest.config.mjs index 8048ff20e..dafb4b20f 100644 --- a/jest.config.mjs +++ b/jest.config.mjs @@ -18,7 +18,7 @@ const config = { testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(mjs?)$', moduleFileExtensions: ['js', 'mjs'], verbose: true, - reporters: [ "default", "jest-junit" ] + reporters: ['default', 'jest-junit'] } export default config diff --git a/package-lock.json b/package-lock.json index 782728f52..8f834b5e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,6 +47,7 @@ "jest-junit": "^16.0.0", "remark-cli": "^12.0.0", "remark-lint-list-item-indent": "^3.1.2", + "remark-lint-unordered-list-marker-style": "^3.1.2", "remark-preset-lint-consistent": "^5.1.2", "remark-preset-lint-recommended": "^6.1.3" }, @@ -11499,6 +11500,58 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/remark-lint-unordered-list-marker-style": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/remark-lint-unordered-list-marker-style/-/remark-lint-unordered-list-marker-style-3.1.2.tgz", + "integrity": "sha512-JFiyB4ZprJGGndCaFB8FssXd48m4Kh+CUqzNgu3lBLEiW8dEAGRlD9M2AzyyA+Q29WJP/FntDCbP22DeON91UA==", + "dev": true, + "dependencies": { + "@types/mdast": "^3.0.0", + "unified": "^10.0.0", + "unified-lint-rule": "^2.0.0", + "unist-util-generated": "^2.0.0", + "unist-util-position": "^4.0.0", + "unist-util-visit": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-lint-unordered-list-marker-style/node_modules/@types/mdast": { + "version": "3.0.15", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz", + "integrity": "sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==", + "dev": true, + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/remark-lint-unordered-list-marker-style/node_modules/@types/unist": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", + "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==", + "dev": true + }, + "node_modules/remark-lint-unordered-list-marker-style/node_modules/unified": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz", + "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==", + "dev": true, + "dependencies": { + "@types/unist": "^2.0.0", + "bail": "^2.0.0", + "extend": "^3.0.0", + "is-buffer": "^2.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/remark-lint/node_modules/@types/mdast": { "version": "3.0.15", "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz", diff --git a/package.json b/package.json index cc5ebddd5..c7a9c64f6 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,8 @@ "remark-cli": "^12.0.0", "remark-lint-list-item-indent": "^3.1.2", "remark-preset-lint-consistent": "^5.1.2", - "remark-preset-lint-recommended": "^6.1.3" + "remark-preset-lint-recommended": "^6.1.3", + "remark-lint-unordered-list-marker-style": "^3.1.2" }, "repository": { "type": "git", diff --git a/src/commands/init.mjs b/src/commands/init.mjs index 893274ea0..f7316c5b3 100644 --- a/src/commands/init.mjs +++ b/src/commands/init.mjs @@ -159,8 +159,8 @@ export class InitCommand extends BaseCommand { flags.clusterSetupNamespace, flags.cacheDir, flags.chartDirectory, - flags.keyFormat, - ) + flags.keyFormat + ) }, handler: (argv) => { initCmd.init(argv).then(r => {