marick / Midje

Midje provides a migration path from clojure.test to a more flexible, readable, abstract, and gracious style of testing
MIT License
1.68k stars 128 forks source link

Add clj-kondo hooks and base config to classpath #474

Closed ericdallo closed 3 years ago

ericdallo commented 3 years ago

It's possible to have clj-kondo configuration on classpath of a lib, with that, any user using clj-kondo could benefit of the configuration and just need to add {:config-paths "marick/midje"} to their clj-kondo config file.

More information about this clj-kondo config here Another lib example which did that here

For this PR, I'm adding support for tabular making clj-kondo understands its table variables, also excluding from the linter the arrow symbols.

ericdallo commented 3 years ago

c/c @philomates

ericdallo commented 3 years ago

@philomates Done! I added both support and fixed a bug where clj-kondo was not considering the rest of the body to lint

philomates commented 3 years ago

released as 1.10.0