Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/main/mantine/core-7.…
Browse files Browse the repository at this point in the history
…15.2
  • Loading branch information
daniele-mng authored Jan 7, 2025
2 parents ca0fcd7 + 2493586 commit fcc352a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/prod.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG VERSION=stable
ARG DEBIAN_FRONTEND=noninteractive

FROM debian:stable-slim as builder
FROM debian:stable-slim AS builder

ENV NODE_VERSION=node_18.x
ENV NODE_KEYRING=/usr/share/keyrings/nodesource.gpg
Expand Down
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ export default [
'no-prototype-builtins': 'off',
'no-case-declarations': 'off',
'react-hooks/exhaustive-deps': 'warn',
'no-console': [
'warn',
{
allow: ['warn', 'error', 'info'],
},
],
'header/header': [
2,
'block',
Expand Down
1 change: 1 addition & 0 deletions src/gmp/log.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Logger {
logValue < newLogValue
? noop
: (...args) => {
// eslint-disable-next-line no-console
return console[logName](
'%c' + this.name,
'color: ' + GREENBONE_GREEN,
Expand Down
1 change: 1 addition & 0 deletions src/gmp/models/__tests__/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('Schedule model tests', () => {
});

test('should handle invalid ical data safely', () => {
// eslint-disable-next-line no-console
const consoleError = console.log;
const errorLog = testing.fn();

Expand Down
1 change: 1 addition & 0 deletions src/web/components/dialog/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const DialogContent = styled.div`
height: inherit;
padding: 0;
gap: 20px;
white-space: pre-line;
`;

export default DialogContent;
2 changes: 1 addition & 1 deletion src/web/entities/footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const EntitiesFooter = ({
const configMap = {
[DIALOG_TYPES.DELETE]: {
dialogText: _(
'Are you sure you want to delete all rows in the page of the table? This action cannot be undone.',
'Are you sure you want to delete all rows in the page of the table?\n This action cannot be undone.',
),
dialogTitle: _('Confirm Deletion'),
dialogButtonTitle: _('Delete'),
Expand Down

0 comments on commit fcc352a

Please sign in to comment.