We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e87de4 + f390b34 commit ae73362Copy full SHA for ae73362
cli/options.go
@@ -249,6 +249,16 @@ func WithInterpolation(interpolation bool) ProjectOptionsFn {
249
}
250
251
252
+// WithNormalization set ProjectOptions to enable/skip normalization
253
+func WithNormalization(normalization bool) ProjectOptionsFn {
254
+ return func(o *ProjectOptions) error {
255
+ o.loadOptions = append(o.loadOptions, func(options *loader.Options) {
256
+ options.SkipNormalization = !normalization
257
+ })
258
+ return nil
259
+ }
260
+}
261
+
262
// WithResolvedPaths set ProjectOptions to enable paths resolution
263
func WithResolvedPaths(resolve bool) ProjectOptionsFn {
264
return func(o *ProjectOptions) error {
0 commit comments