Eaglint is a style checker for Cadsoft Eagle PCB design files.
$ cd EagleLint
$ pip install .
This will install several libraries, the most important of which is Swoop
a Python library for working with Eagle files.
$ eaglelint --files tests/test.sch tests/test.brd test.lbr
It will print out some errors.
Get help: eaglelint --help