Skip to content

Commit

Permalink
remove rules with side effects and undo them
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Perrotta committed Jun 14, 2023
1 parent 1955789 commit 8049139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ module.exports = {
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
'@typescript-eslint/no-unused-vars': ['warn', {argsIgnorePattern: '^_'}],
'@typescript-eslint/prefer-nullish-coalescing': 'error',
'@typescript-eslint/prefer-return-this-type': 'warn',
'@typescript-eslint/require-await': 'warn',
'@typescript-eslint/restrict-template-expressions': 'warn',
'@typescript-eslint/sort-type-constituents': ['error', {'checkUnions': false}],
'@typescript-eslint/switch-exhaustiveness-check': 'error',
'func-names': 'error',
'import/first': 'error',
Expand Down
4 changes: 2 additions & 2 deletions src/bidiMapper/domains/network/networkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ export class NetworkRequest {
this.#responseReceivedEvent.response.status,
statusText: this.#responseReceivedEvent.response.statusText,
fromCache:
this.#responseReceivedEvent.response.fromDiskCache ??
this.#responseReceivedEvent.response.fromPrefetchCache ??
this.#responseReceivedEvent.response.fromDiskCache ||
this.#responseReceivedEvent.response.fromPrefetchCache ||
this.#servedFromCache,
headers: NetworkRequest.#getHeaders(
this.#responseReceivedEvent.response.headers
Expand Down

0 comments on commit 8049139

Please sign in to comment.