mirror of https://github.com/sbt/sbt.git
Fixes https://github.com/sbt/sbt/issues/3183 This implements an input task lintBuild that checks for unused settings/tasks. Because most settings are on the intermediary to other settings/tasks, they are included into the linting by default. The notable exceptions are settings used exclusively by a command. To opt-out, you can either append it to `Global / excludeLintKeys` or set the rank to invisible. On the other hand, many tasks are on the leaf (called by human), so task keys are excluded from linting by default. However there are notable tasks that trip up users, so they are opted-in using `Global / includeLintKeys`. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||