From 0caa1849e3e2c7e025e1378a318c48879ad18c0e Mon Sep 17 00:00:00 2001 From: Myrotvorets Date: Sat, 7 Oct 2023 00:13:03 +0300 Subject: [PATCH] Fix linting --- .eslintignore | 1 + .eslintrc.json | 5 ----- .github/workflows/build.yml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.eslintignore b/.eslintignore index 450d07ff..57565ff4 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ **/*.js **/*.d.ts node_modules/** +example/** diff --git a/.eslintrc.json b/.eslintrc.json index dc6f5d8b..87fedada 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,11 +6,6 @@ "extends": [ "@myrotvorets/myrotvorets-ts" ], - "rules": { - "jest/no-commented-out-tests": "off", - "jest/no-done-callback": "off", - "jest/valid-expect": "off" - }, "env": { "node": true, "jest": false, diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89b3624f..eb9702b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !contains(github.event.head_commit.message, '[ci skip]') || github.event_name == 'workflow_dispatch' }} steps: - - name: Run cose style check + - name: Run code style check uses: myrotvorets/composite-actions/node-run-script@master with: script: lint