Skip to content

Commit

Permalink
fix linting proplems
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzZz committed Oct 1, 2023
1 parent 73f976d commit cad426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
}
},
"rules": {
"react-hooks/rules-of-hooks": "warn",
"@typescript-eslint/no-this-alias": "warn",
"no-prototype-builtins": "off",
"import/default": "off",
"@typescript-eslint/no-inferrable-types": "off", // чтобы можно было указывать тип даже когда он может определиться сам
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/src/lib/data/EditorManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ export class EditorManager {

resetEditor?: () => void;

constructor() {}

init(basename: string | null, name: string, elements: Elements) {
this.data = emptyEditorData();

Expand Down

0 comments on commit cad426b

Please sign in to comment.