-
Notifications
You must be signed in to change notification settings - Fork 5
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
Vmo 3640 dates in expr ctx #43
base: master
Are you sure you want to change the base?
Conversation
adding 'now' for consistency with expressions documentation + DN context builder |
Found 10 violations: Reporter: ESLint Expected comment to be above code. (line-comment-position)
Reporter: ESLint Expected comment to be above code. (line-comment-position)
Reporter: ESLint Delete `;` (prettier/prettier)
Reporter: ESLint Extra semicolon. (semi)
Reporter: ESLint Delete `;` (prettier/prettier)
Reporter: ESLint Extra semicolon. (semi)
Reporter: ESLint Delete `;` (prettier/prettier)
Reporter: ESLint Extra semicolon. (semi)
Reporter: ESLint Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
Reporter: ESLint Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
|
tomorrow.setHours(0, 0, 0, 0); | ||
|
||
yesterday.setDate(now.getDate() - 1) | ||
yesterday.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.prettier/prettier
Severity: ERROR
File: src/flow-spec/IBlock.ts L162
Delete `;` (prettier/prettier)
tomorrow.setHours(0, 0, 0, 0); | ||
|
||
yesterday.setDate(now.getDate() - 1) | ||
yesterday.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.semi
Severity: WARN
File: src/flow-spec/IBlock.ts L162
Extra semicolon. (semi)
const yesterday = new Date(now) | ||
|
||
tomorrow.setDate(now.getDate() + 1) | ||
tomorrow.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.prettier/prettier
Severity: ERROR
File: src/flow-spec/IBlock.ts L159
Delete `;` (prettier/prettier)
const yesterday = new Date(now) | ||
|
||
tomorrow.setDate(now.getDate() + 1) | ||
tomorrow.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.semi
Severity: WARN
File: src/flow-spec/IBlock.ts L159
Extra semicolon. (semi)
|
||
// today is just today's day, at midnight | ||
const today = new Date(now) | ||
today.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.prettier/prettier
Severity: ERROR
File: src/flow-spec/IBlock.ts L152
Delete `;` (prettier/prettier)
|
||
// today is just today's day, at midnight | ||
const today = new Date(now) | ||
today.setHours(0, 0, 0, 0); |
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.
Reporter: ESLint
Rule: eslint.rules.semi
Severity: WARN
File: src/flow-spec/IBlock.ts L152
Extra semicolon. (semi)
Approved, pending ESLint fixes |
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.
Approved Pending ESLint fixes
No description provided.