From 5d93d5752cc6e216859309586c153f4aa1981e15 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 4 May 2021 21:02:06 +0300 Subject: [PATCH] chore(cloudcmd) lint --- .github/workflows/docker.yml | 2 +- .github/workflows/nodejs.yml | 2 +- .putout.json | 5 +++++ client/modules/edit.js | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6b857c86..305dea9c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,7 +15,7 @@ jobs: - name: Use Node.js 14.x uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: 16.x - name: NPM Install run: | diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f56766f6..f14344dd 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,7 +13,7 @@ jobs: - name: Use Node.js 14.x uses: actions/setup-node@v1 with: - node-version: 14.x + node-version: [14.x, 16.x] - name: Install Redrun run: diff --git a/.putout.json b/.putout.json index 9eb3904a..ebac046c 100644 --- a/.putout.json +++ b/.putout.json @@ -37,5 +37,10 @@ "storage.js": { "remove-useless-async": "off" } + }, + "match": { + "docker.yml": { + "github/set-node-versions": "off" + } } } diff --git a/client/modules/edit.js b/client/modules/edit.js index 1807145b..151b3f5d 100644 --- a/client/modules/edit.js +++ b/client/modules/edit.js @@ -66,7 +66,9 @@ function initConfig(options = {}) { checkFn('options.afterShow', options.afterShow); - const afterShow = {config}; + const afterShow = { + config, + }; config.afterShow = () => { afterShow();