mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
32792f2b9d3f8ea2c02f1678982414089f91d17c
The user should be able to configure whether or not the task linting is strictly enforced. In my opinion, the linter is generally pretty good about warning users that a particular definition may not behave the way the user expects. Unfortunately, it is fairly common that the user explicitly wants this behavior and making the linter abort compilation is a frustrating user experience. To fix this, I add the LinterLevel trait to a new sbt.dsl package in the core-macros project. The user can configure the linter to: 1) abort when an issue is detected. This is the current default behavior. 2) print a warning when an issues is detected 3) skip linting all together Linter configuration is managed by importing the corresponding implicit object from the LinterLevel companion object. Fixes #3266
sbt
sbt is a build tool for Scala, Java, and more.
For general documentation, see http://www.scala-sbt.org/.
sbt 1.x
This is the 1.x series of sbt. The source code of sbt is split across several Github repositories, including this one.
- sbt/io hosts
sbt.iomodule. - sbt/util hosts a collection of internally used modules.
- sbt/librarymanagement hosts
sbt.librarymanagementmodule that wraps Ivy. - sbt/zinc hosts Zinc, an incremental compiler for Scala.
- sbt/sbt, this repository hosts modules that implements the build tool.
Other links
- Setup: Describes getting started with the latest binary release.
- FAQ: Explains how to get help and more.
- sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions
Issues and Pull Requests
Please read CONTRIBUTING carefully before opening a GitHub Issue.
The short version: try searching or asking on StackOverflow.
license
See LICENSE.
Languages
Scala
94.5%
Java
3.1%
Shell
1.1%
Batchfile
0.9%
Roff
0.2%
Other
0.1%