Skip to content

Commit

Permalink
chore: fix new linting errors reported (testing-library#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
Belco90 committed Jan 29, 2023
1 parent 2b94983 commit e2c9bbb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join } from 'path';

import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';

import {
importDefault,
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';

type RecommendedConfig<TOptions extends readonly unknown[]> =
| TSESLint.RuleMetaDataDocs['recommended']
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/consistent-data-testid.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';

import rule, {
MessageIds,
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/no-node-access.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';

import rule, { RULE_NAME, Options } from '../../../lib/rules/no-node-access';
import { createRuleTester } from '../test-utils';
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/no-unnecessary-act.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';

import rule, {
MessageIds,
Expand Down
2 changes: 1 addition & 1 deletion tools/generate-configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { LinterConfigRules } from '../../lib/configs';
import { type LinterConfigRules } from '../../lib/configs';
import rules from '../../lib/rules';
import {
SUPPORTED_TESTING_FRAMEWORKS,
Expand Down
2 changes: 1 addition & 1 deletion tools/generate-configs/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { writeFileSync } from 'fs';
import { resolve } from 'path';

import type { TSESLint } from '@typescript-eslint/utils';
import { type TSESLint } from '@typescript-eslint/utils';
import { format, resolveConfig } from 'prettier';

const prettierConfig = resolveConfig.sync(__dirname);
Expand Down

0 comments on commit e2c9bbb

Please sign in to comment.