From fb179f1a953ad6279b63dc24709d95448af7648a Mon Sep 17 00:00:00 2001 From: Rumperuu Date: Thu, 15 Apr 2021 15:23:43 +0100 Subject: [PATCH] fix: pass JS linter --- .github/workflows/php.yml | 6 +++--- js/wysiwyg-editor.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4c7729d..7e53d76 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -27,13 +27,13 @@ jobs: ${{ runner.os }}-php- - name: Install dependencies - run: composer install --prefer-dist --no-progress --ignore-platform-reqs && npm install + run: composer install --prefer-dist --no-progress --ignore-platform-reqs - - name: Format and lint PHP code + - name: Lint PHP code run: composer run lint:php - name: Lint JS code - run: composer run lint:js + run: composer run format:js:fix && composer run lint:js # TODO: Fix CSS errors #- name: Format and lint CSS code diff --git a/js/wysiwyg-editor.js b/js/wysiwyg-editor.js index ddb5120..ac44c01 100644 --- a/js/wysiwyg-editor.js +++ b/js/wysiwyg-editor.js @@ -1,7 +1,7 @@ /** * Created by Stefan on 24.05.14. * - * Edit: be careful to maintain version number near EOF + * Edit: be careful to maintain version number near EOF */ (function () {