Skip to content

Commit

Permalink
Removed certain eslint warning rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pkirilin committed Dec 2, 2023
1 parent f219200 commit 36440e4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions src/frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"plugins": ["prettier", "import", "react", "react-hooks", "jest-dom", "testing-library"],
"rules": {
"prettier/prettier": 2,
"no-console": "warn",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react-hooks/rules-of-hooks": "error",
Expand All @@ -47,8 +48,6 @@
"unnamedComponents": "arrow-function"
}
],
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-empty-interface": "warn",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
Expand All @@ -64,8 +63,6 @@
}
],
"@typescript-eslint/no-invalid-void-type": "off",
"no-console": "warn",
"no-restricted-imports": "off",
"import/order": [
"error",
{
Expand Down
1 change: 0 additions & 1 deletion src/frontend/src/AppProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { type Store } from 'redux';
import theme from './theme';

declare module '@mui/styles/defaultTheme' {
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface DefaultTheme extends Theme {}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export function createApiCallAsyncThunk<TData, TArgument>(

export const handleEmptyResponse: ApiResponseHandler<void, unknown> = async () => {};

// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type AnyAsyncThunk<TArgument = any> = AsyncThunk<any, TArgument, Record<string, unknown>>;

type AnyAsyncThunkActionProperties = keyof Pick<
Expand Down

0 comments on commit 36440e4

Please sign in to comment.