Welcome! Please see the About page for a little more info on how this works.

+4 votes
in tools.deps by
recategorized by

Peform validation of deps.edn files, providing useful error messages and information about misspelled keywords, invalid types, valid data in the wrong location.

Some motivating examples:

misspelled keywords:

including valid options in incorrect locations

:jvm-opts in the top level

invalid data types in valid edn files:

{:deps :org.clojure/tools.reader {:mvn/version "1.2.3"} org.clojure/tools.reader {mvn/version "1.2.3"}}

  • first dep has a keyword where a symbol should be present

  • second dep has a symbol where a keyword should be present

For implementation
spell-spec is a great tool to do this

related JIRA ticket

Please log in or register to answer this question.