-
Notifications
You must be signed in to change notification settings - Fork 0
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
4.1.0 #276
4.1.0 #276
Conversation
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
if (this.customField) { | ||
return Promise.resolve(this.customField) | ||
} | ||
const service: CustomFieldsService = new CustomFieldsService({headers: getHeaders()}) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required after '{'.
const service: CustomFieldsService = new CustomFieldsService({headers: getHeaders()}) | |
const service: CustomFieldsService = new CustomFieldsService({ headers: getHeaders()}) |
if (this.customField) { | ||
return Promise.resolve(this.customField) | ||
} | ||
const service: CustomFieldsService = new CustomFieldsService({headers: getHeaders()}) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required before '}'.
const service: CustomFieldsService = new CustomFieldsService({headers: getHeaders()}) | |
const service: CustomFieldsService = new CustomFieldsService({headers: getHeaders() }) |
* Get the name of the custom field that this story custom field is associated with. | ||
*/ | ||
get name(): Promise<string> { | ||
return this.field.then((field) => field.name) |
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.
🚫 [eslint] <@stylistic/arrow-parens> reported by reviewdog 🐶
Unexpected parentheses around single function argument having a body with no curly braces.
return this.field.then((field) => field.name) | |
return this.field.then(field => field.name) |
@@ -16,6 +16,17 @@ describe('Story Custom Field', () => { | |||
expect(customField).toBeInstanceOf(StoryCustomField) | |||
}) | |||
|
|||
it('should return saved custom field', async () => { | |||
const storyCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required after '{'.
const storyCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) | |
const storyCustomField = new StoryCustomField({ fieldId: '1'} as StoryCustomFieldInterface) |
@@ -16,6 +16,17 @@ describe('Story Custom Field', () => { | |||
expect(customField).toBeInstanceOf(StoryCustomField) | |||
}) | |||
|
|||
it('should return saved custom field', async () => { | |||
const storyCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required before '}'.
const storyCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) | |
const storyCustomField = new StoryCustomField({fieldId: '1' } as StoryCustomFieldInterface) |
@@ -26,4 +37,18 @@ describe('Story Custom Field', () => { | |||
expect(customField.values).toEqual([{fieldId: '1', value: 'value'}]) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required before '}'.
expect(customField.values).toEqual([{fieldId: '1', value: 'value'}]) | |
expect(customField.values).toEqual([{fieldId: '1', value: 'value' }]) |
canonicalName: 'fieldName', | ||
createdAt: new Date(), | ||
description: 'description', | ||
values: [{fieldId: '1', value: 'value'}] |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required after '{'.
values: [{fieldId: '1', value: 'value'}] | |
values: [{ fieldId: '1', value: 'value'}] |
canonicalName: 'fieldName', | ||
createdAt: new Date(), | ||
description: 'description', | ||
values: [{fieldId: '1', value: 'value'}] |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required before '}'.
values: [{fieldId: '1', value: 'value'}] | |
values: [{fieldId: '1', value: 'value' }] |
description: 'description', | ||
values: [{fieldId: '1', value: 'value'}] | ||
} as unknown as CustomFieldInterface)) | ||
const customStoryField: StoryCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required after '{'.
const customStoryField: StoryCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) | |
const customStoryField: StoryCustomField = new StoryCustomField({ fieldId: '1'} as StoryCustomFieldInterface) |
description: 'description', | ||
values: [{fieldId: '1', value: 'value'}] | ||
} as unknown as CustomFieldInterface)) | ||
const customStoryField: StoryCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) |
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.
🚫 [eslint] <@stylistic/object-curly-spacing> reported by reviewdog 🐶
A space is required before '}'.
const customStoryField: StoryCustomField = new StoryCustomField({fieldId: '1'} as StoryCustomFieldInterface) | |
const customStoryField: StoryCustomField = new StoryCustomField({fieldId: '1' } as StoryCustomFieldInterface) |
This Pull Request introduces several changes across the project, focusing on integration with ESLint, CI pipeline adjustments, version increments, and code improvements in functionality and readability. Here's a detailed review: ESLint Configuration (
|
Code Review Feedback
|
Here are a few observations and suggestions regarding the changes in the pull requests:
In conclusion, this pull request contains numerous beneficial modifications and improvements, focusing on linting efficiency, dependency management, and code quality. The changes are thoughtful and consistent with best practices in JavaScript and TypeScript development. |
The submitted changes for review incorporate various updates across the project's configuration files, workflow automation, and TypeScript sources. Here's an overview: ESLint Configuration
|
What's Changed
epic.owners: Member[]
Internal
MembershipProfile
to documentation