Skip to content

Commit

Permalink
chore: switch to disable-next-line
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Jan 22, 2020
1 parent e737816 commit 0e5a5f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dash-renderer/src/AccessDenied.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function AccessDenied(props) {
`${constants.OAUTH_COOKIE_NAME}=; ` +
'expires=Thu, 01 Jan 1970 00:00:01 GMT;';
} catch (e) {
/* eslint no-console: 2 */
/* eslint-disable-next-line no-console */
console.warn(e);
}
window.location.reload(true);
Expand Down
2 changes: 1 addition & 1 deletion dash-renderer/src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function getCSRFHeader() {
'X-CSRFToken': cookie.parse(document.cookie)._csrf_token,
};
} catch (e) {
/* eslint no-console: 2 */
/* eslint-disable-next-line no-console */
console.warn(e);
return {};
}
Expand Down

0 comments on commit 0e5a5f6

Please sign in to comment.