-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[deps] Migration to new eslint v9 to flat configuration #1676
base: main
Are you sure you want to change the base?
Conversation
* @param {Sequalize} sequalize sequalize instance | ||
* @param {Sequalize.Transaction} sequalize.transaction transaction to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in Sequelize
/** | ||
* @param {(boolean|{from: boolean, to: boolean})} [configuration.required] defines if the from/to dates are required | ||
* (true means both are required) | ||
* @param {boolean} [configuration.seconds=false] states if the input has granularity up to seconds (if not, granularity is minutes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that param make sense out of function signature
@@ -38,7 +38,8 @@ import { StatefulComponent } from '../../StatefulComponent.js'; | |||
export class DateTimeInputComponent extends StatefulComponent { | |||
/** | |||
* Constructor | |||
* @property {DateTimeInputComponentVnode} vnode the component's vnode | |||
* @param {DateTimeInputComponentVnode} vnode the component's vnode | |||
* @param {DateTimeInputComponentAttrs} vnode.attrs the component's attributes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose this should not be needed because the type is explicit, not object?
// eslint-disable-next-line require-jsdoc | ||
oncreate: function ({ dom }) { | ||
|
||
oncreate: ({ dom }) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you do this, the this
in the function will not correspond to the vnode state, which will lead to weird behavior if the function is used in several places at the same time. This applies to all these functions
/** | ||
* @param {number[]} [options.filter.ids] quality control flag ids to filter with | ||
* @param {boolean} [options.filter.bad] quality control flag boolean to filter bad or not-bad QC flags | ||
* @param {boolean} [options.filter.archived] quality control flag boolean to filter archived or not-archived QC flags | ||
* @param {string[]} [options.filter.names] quality control flag type name to filter with, single token is treated as pattern | ||
* @param {string[]} [options.filter.methods] quality control flag type method to filter with, single token is treated as pattern |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, not sure the param applies for an object, it might be @type
instead
I DON'T have JIRA ticket
Notable changes for users:
Notable changes for developers:
Changes made to the database: