SkillAgentSearch skills...

Discipline

Flexible law checking for Scala

Install / Use

/learn @typelevel/Discipline
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

discipline

Join the chat at https://gitter.im/typelevel/discipline Continuous Integration Maven Central

Flexible law checking for Scala

Usage

This library is currently available for Scala binary versions 2.12, 2.13 and 3.1.

To use the latest version, include the following in your build.sbt:

libraryDependencies +=
  "org.typelevel" %% "discipline-core" % "1.5.0"

For a little more info see the "Law Enforcement using Discipline" blog post.

Binding to test frameworks

Discipline is built against ScalaCheck 1.16.x. There is also a published artifact for Scala.js 1.8 and Scala Native 0.4.4.

discipline-core is required early each Scala release cycle, so we have chosen to keep this repo minimal. Starting with v1.0.0, please find the framework bindings in their new locations:

Code of Conduct

See the Code of Conduct

View on GitHub
GitHub Stars336
CategoryDevelopment
Updated2d ago
Forks59

Languages

Scala

Security Score

100/100

Audited on Mar 24, 2026

No findings