status-react/.clj-kondo
Icaro Motta 0d6c553f3f
Add linter for inconsistent deftest name (#20224)
Adds a new linter to verify all test names are consistent with one common
convention we already follow, for the most part, which is:

> Test vars (test names) should be suffixed with -test.

There's no strong reason for following this convention, although it's quite
common in Clojure, but in any case, these are the reasons I can think of and
remember:

- Naming consistency. Sometimes tests start with "test-", others end with "test"
  and others don't prefix/suffix at all.
- The suffix removes potential conflicts with core Clojure functions.
- The suffix mostly eliminates potential conflicts with other vars in the test
  namespace. Example: you can declare a function delete and have a test named
  delete-test.
- For someone using Emacs imenu feature, it helps differentiate which vars are
  tests and which are just local functions supporting the tests.
2024-06-03 19:10:36 -03:00
..
babashka
funcool/promesa Add Promesa to simplify working with promises (#18767) 2024-03-04 13:59:52 +02:00
metosin/malli
nubank/matcher-combinators Add missing clj-kondo linter for nubank/matcher-combinators (#18091) 2023-12-06 13:39:47 -03:00
rewrite-clj/rewrite-clj Wallet: select-send-address event (#18501) 2024-01-15 20:21:38 +04:00
status-im Add linter for inconsistent deftest name (#20224) 2024-06-03 19:10:36 -03:00
taoensso/encore Wallet: select-send-address event (#18501) 2024-01-15 20:21:38 +04:00
config.edn DX: Preload user and dev.user namespace (#19927) 2024-05-10 13:17:26 -03:00