diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 43015d7c..baafd5d9 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -20,6 +20,12 @@ module.exports = { extends: ['plugin:@typescript-eslint/disable-type-checked'], files: ['*.js', '*.cjs'], }, + { + files: ['*.spec.ts'], + rules: { + 'max-lines-per-function': 'off', + }, + }, ], parser: '@typescript-eslint/parser', parserOptions: { diff --git a/.github/labeler.yml b/.github/labeler.yml index d20e7951..26585235 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -23,8 +23,11 @@ refactor: - '^refactor' test: - - head-branch: - - '^test' + - any: + - head-branch: + - '^test' + - changed-files: + - any-glob-to-any-file: '**/*.spec.ts' revert: - head-branch: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eae7cab7..560f20e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ on: pull_request: branches: - develop + - sprint-2 + - sprint-3 + - sprint-4 jobs: format: diff --git a/src/shared/utils/tests.spec.ts b/src/shared/utils/tests.spec.ts index 21b25de6..4c3ace0c 100644 --- a/src/shared/utils/tests.spec.ts +++ b/src/shared/utils/tests.spec.ts @@ -1,4 +1,3 @@ -/* eslint-disable max-lines-per-function */ import { BaseComponent } from './baseComponent.ts'; import BaseElement from './baseElement.ts'; import createBaseElement from './createBaseElement.ts';