I'd like to create a compile configuration which is the same as the default one but adds a compiler plugin. In my particular case, I want to have a "dev" configuration but with the linter plugin (<https://github.com/HairyFotr/linter>) because it slows down compile times and there's no need to run it in production or continuous integration.

Now this is what I tried:

```scala
lazy val Dev = config("dev") extend Compile

lazy val root = (project in file(".")).configs(Dev).settings(
    inConfig(Dev)(addCompilerPlugin("org.psywerx.hairyfotr" %% "linter" % "0.1.12")): _*)

```

and it *should* work, since when I `inspect dev:libraryDependencies`, it's what I expect it to be- it has `org.psywerx.hairyfotr:linter:0.1.12:plugin->default(compile)`. Normally if I add the library with a "plugin" scope, it does work for the default settings:

```
libraryDependencies += ("org.psywerx.hairyfotr" %% "linter" % "0.1.12" % "plugin"

```

It just does not work if I add this under a different configuration, so there must be something else going on here.