Skip to content
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

DX-2726 Initial Development of Linter CLI #2

Merged
merged 26 commits into from
Aug 11, 2022
Merged

DX-2726 Initial Development of Linter CLI #2

merged 26 commits into from
Aug 11, 2022

Conversation

ajrice6713
Copy link
Contributor

No description provided.

@ajrice6713 ajrice6713 changed the title v1.0.0 Initial Development Jul 29, 2022
Copy link

@bpateldx bpateldx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whole lot going on for new package setup, nice work! Please review comments, especially on Testing.

src/commands/lint.ts Outdated Show resolved Hide resolved
});

it("should run lint command", async () => {
expect(typeof testLint("./tests/fixtures/testSpec.yaml")).toBe("string");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest adding additional validation inspecting the string for error related message and error counts.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or better test one good spec and one bad spec

@ajrice6713 ajrice6713 changed the title Initial Development DX-2726 Initial Development of Linter CLI Aug 5, 2022
Also set result to be an array of objects instead of a single object
bpateldx
bpateldx previously approved these changes Aug 9, 2022
Copy link

@bpateldx bpateldx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like the refactoring for improved validations, in much better state than before! Good with current improvements, if we've time left in the Sprint we can look at opportunity for other incremental improvements.

@ajrice6713 ajrice6713 merged commit dfb5f71 into main Aug 11, 2022
@ajrice6713 ajrice6713 deleted the v1.0.0-beta branch August 11, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants