Skip to content

Commit

Permalink
chore: disable max-line-per-function for test files
Browse files Browse the repository at this point in the history
  • Loading branch information
stardustmeg committed Apr 29, 2024
1 parent 1831aac commit 95876b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
1 change: 0 additions & 1 deletion src/shared/utils/tests.spec.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 95876b0

Please sign in to comment.