json-schema-spec icon indicating copy to clipboard operation
json-schema-spec copied to clipboard

Add automation for linting the spec

Open jdesrosiers opened this issue 1 year ago • 3 comments

When I setup the build script for the markdown-based spec, I included a markdown linter and link checker. Unfortunately, that isn't being used during development and a lot of errors have gotten in. This PR adds automation to make sure schema authors are aware when they are introducing errors.

This also includes linting automation for the build scripts themselves.

jdesrosiers avatar Oct 16 '24 21:10 jdesrosiers

Our .gitignore is getting pretty specific. Would it be possible to output all of the files to a specific folder so that we can just ignore that folder?

Additional context: I've created a .exe that watches the .md files for changes and automatically runs the build. It build HTML for the readme, contributing, and process files, too. ... and all of the proposals.

gregsdennis avatar Oct 21 '24 07:10 gregsdennis

Our .gitignore is getting pretty specific. Would it be possible to output all of the files to a specific folder so that we can just ignore that folder?

Yes, that should be pretty easy to do.

jdesrosiers avatar Oct 21 '24 17:10 jdesrosiers

(The force push as just a rebase. Nothing changed.)

jdesrosiers avatar Oct 21 '24 17:10 jdesrosiers

I originally removed the ietf build from the ci, but then remembered that we still have a couple specs (RJP) that still use it, so I put it back.

jdesrosiers avatar Oct 21 '24 18:10 jdesrosiers