Nicene v0.3.1 API Reference

Modules

A Credo plugin which offers several additional checks.

Avoid importing functions from modules in the current OTP application, as this can really slow down incremental compile times. Importing frunctions from dependent applications are fine since those don't re-compile when making changes.

Function definitions should use one or the other style, not a mix of the two.

This checks that we're documenting our GraphQL schema thoroughly.

Ecto schemas should not be in directories with other types of files.

Check to ensure that module names correspond to the file that it is defined it.

Invokations of functions should be before definitions of those functions.

Private functions should not have typespecs

Public functions in a module should be defined before private functions.

Check to ensure all tests are in the correct folder.

Do not use case when the only matches are true and false.

Check to ensure that we aren't doing any unnecessary pattern matching or using unnecessary guard clauses for functions.