Skip to content

Commit

Permalink
[stable-4.5] Bump @typescript-eslint/* to 6.2.1 (#4086)
Browse files Browse the repository at this point in the history
* [stable-4.5] Bump @typescript-eslint/* to 6.2.1

* fix eslint - type => interface; {[key:string]:...} => Record; empty constructors

lint fix

* No-Issue

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
himdel and dependabot[bot] authored Aug 2, 2023
1 parent 2c3084a commit c4fa0e3
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 11,525 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic",
"prettier",
],
parserOptions: {
Expand Down
11,643 changes: 125 additions & 11,518 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"@ls-lint/ls-lint": "^2.0.1",
"@redhat-cloud-services/frontend-components-config": "^5.0.4",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-macros": "^3.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface IState {
host__icontains?: string;
};
digest?: string;
digestByTag: { [key: string]: string };
digestByTag: Record<string, string>;
loading: boolean;
tag?: string;
tagResults: { name: string; id: string }[];
Expand Down
4 changes: 2 additions & 2 deletions src/components/repositories/remote-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ interface IProps {
updateRemote: (remote) => void;
}

type FormFilename = {
interface FormFilename {
name: string;
original: boolean;
};
}

interface IState {
filenames: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/data-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface IProps {
formSuffix?: React.ReactNode;
isReadonly: boolean;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
model: { [key: string]: any };
model: Record<string, any>;
requiredFields: string[];
updateField: (value, event) => void;
onSave: () => void;
Expand Down
2 changes: 1 addition & 1 deletion src/containers/task-management/task-list-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface IState {
page_size?: number;
};
loading: boolean;
items: Array<TaskType>;
items: TaskType[];
itemCount: number;
alerts: AlertType[];
cancelModalVisible: boolean;
Expand Down

0 comments on commit c4fa0e3

Please sign in to comment.