Skip to content

Commit 6245413

Browse files
committed
chore: fix linting
1 parent e769c56 commit 6245413

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"scripts": {
88
"build": "yarn --verbose workspaces foreach --exclude '@react-docgen-internal/*' run build",
99
"watch": "yarn --verbose workspaces foreach --exclude '@react-docgen-internal/*' -p run watch",
10-
"lint": "eslint . --ext .js,.ts --report-unused-disable-directives",
11-
"fix": "eslint . --ext .js,.ts --fix --report-unused-disable-directives",
10+
"lint": "eslint . --ext .js,.ts --report-unused-disable-directives --max-warnings=0",
11+
"fix": "eslint . --ext .js,.ts --fix --report-unused-disable-directives --max-warnings=0",
1212
"test": "yarn build && vitest run",
1313
"test:dev": "vitest",
1414
"g:tsc": "cd $INIT_CWD && rimraf dist/ && tsc",

packages/react-docgen/src/utils/__tests__/resolveHOC-test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { identifier, numericLiteral } from '@babel/types';
21
import { makeMockImporter, parse } from '../../../tests/utils';
32
import resolveHOC from '../resolveHOC.js';
43
import { describe, expect, test } from 'vitest';

packages/react-docgen/src/utils/__tests__/setPropDescription-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import setPropDescription from '../setPropDescription.js';
33
import Documentation from '../../Documentation';
44
import type { default as DocumentationMock } from '../../__mocks__/Documentation';
55
import type { ExpressionStatement } from '@babel/types';
6-
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
6+
import { beforeEach, describe, expect, test, vi } from 'vitest';
77

88
vi.mock('../../Documentation.js');
99

packages/react-docgen/tests/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Node, TransformOptions } from '@babel/core';
1+
import type { TransformOptions } from '@babel/core';
22
import type { NodePath } from '@babel/traverse';
33
import type { Importer, ImportPath } from '../src/importer/index.js';
44
import FileState from '../src/FileState.js';

0 commit comments

Comments
 (0)