Skip to content

An edn validator that isolates errors to the smallest possible form.

License

Notifications You must be signed in to change notification settings

diogo149/lein-edn-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edn-validator

An edn validator that isolates errors to the smallest possible form. Useful for clojurescript errors.

Usage

Put [edn-validator "0.2.0-SNAPSHOT"] into the :plugins vector of your project.clj.

Example

$ echo '{a}' > sample.clj
$ lein edn-validator sample.clj
Error occured in form:  {a}
With error message:     Map literal must contain an even number of forms


# if not at the root dir of the project
$ lein edn-validator `pwd`/sample.cljs

Known Issues

  • False negative for #js (No reader function for tag js)

License

Copyright © 2014 diogo149

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

An edn validator that isolates errors to the smallest possible form.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published