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

Add lint target to Makefile. #9

Merged
merged 2 commits into from
Jul 20, 2020
Merged

Conversation

andrewsomething
Copy link
Member

With the addition of the Makefile, it should be the main entry point for the development workflow.

Makefile Outdated

.PHONY: lint
lint: ## Lint the OpenAPI spec using Spectral
spectral lint ${SPEC_FILE}
Copy link
Contributor

Choose a reason for hiding this comment

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

This command assumes we have spectral already installed. Should we add installation instructions or another target to install tools like this?

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a package.json file. It's also possible that this is just a distraction at this point, but this seems to work.

Copy link
Contributor

Choose a reason for hiding this comment

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

I can't disagree. It's always tough to balance valuable feedback and distractions.

Copy link
Member Author

Choose a reason for hiding this comment

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

Meant the PR itself rather than the feedback. That's always appreciated!

@hilary hilary merged commit 59b9e45 into digitalocean:main Jul 20, 2020
@hilary hilary deleted the make-lint branch July 20, 2020 06:12
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.

3 participants