Skip to content

Commit

Permalink
Fixed TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
burtek committed Aug 16, 2023
1 parent 8590079 commit 7f1d149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions configs/base.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import * as ts from '@typescript-eslint/eslint-plugin';
import * as tsParser from '@typescript-eslint/parser/dist';
// eslint-disable-next-line import/newline-after-import
import ts from '@typescript-eslint/eslint-plugin';
// @ts-expect-error
// eslint-disable-next-line
import tsParser from '@typescript-eslint/parser';
import { defineFlatConfig } from 'eslint-define-config';
import importPlugin from 'eslint-plugin-import';
import promise from 'eslint-plugin-promise';
Expand Down
2 changes: 1 addition & 1 deletion configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import jsxA11y from 'eslint-plugin-jsx-a11y';
import reactConfigJsxRuntime from 'eslint-plugin-react/configs/jsx-runtime.js';
import reactConfigRecommended from 'eslint-plugin-react/configs/recommended.js';
import reactHooks from 'eslint-plugin-react-hooks';
import * as globals from 'globals';
import globals from 'globals';

import { reactNamingRuleConfig } from './share/naming-config.js';

Expand Down

0 comments on commit 7f1d149

Please sign in to comment.