Class PrettierOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.javascript.PrettierOptions.Jsii$Proxy
-
- All Implemented Interfaces:
PrettierOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PrettierOptions
@Stability(Experimental) @Internal public static final class PrettierOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PrettierOptions
An implementation forPrettierOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.javascript.PrettierOptions
PrettierOptions.Builder, PrettierOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PrettierOptions.Builder builder)Constructor that initializes the object based on literal property values passed by thePrettierOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)BooleangetIgnoreFile()(experimental) Defines an .prettierIgnore file.IgnoreFileOptionsgetIgnoreFileOptions()(experimental) Configuration options for .prettierignore file.List<PrettierOverride>getOverrides()(experimental) Provide a list of patterns to override prettier configuration.PrettierSettingsgetSettings()(experimental) Prettier settings.BooleangetYaml()(experimental) Write prettier configuration as YAML instead of JSON.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(PrettierOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by thePrettierOptions.Builder.
-
-
Method Detail
-
getIgnoreFile
public final Boolean getIgnoreFile()
Description copied from interface:PrettierOptions(experimental) Defines an .prettierIgnore file.Default: true
- Specified by:
getIgnoreFilein interfacePrettierOptions
-
getIgnoreFileOptions
public final IgnoreFileOptions getIgnoreFileOptions()
Description copied from interface:PrettierOptions(experimental) Configuration options for .prettierignore file.- Specified by:
getIgnoreFileOptionsin interfacePrettierOptions
-
getOverrides
public final List<PrettierOverride> getOverrides()
Description copied from interface:PrettierOptions(experimental) Provide a list of patterns to override prettier configuration.Default: []
- Specified by:
getOverridesin interfacePrettierOptions- See Also:
- https://prettier.io/docs/en/configuration.html#configuration-overrides
-
getSettings
public final PrettierSettings getSettings()
Description copied from interface:PrettierOptions(experimental) Prettier settings.Default: - default settings
- Specified by:
getSettingsin interfacePrettierOptions
-
getYaml
public final Boolean getYaml()
Description copied from interface:PrettierOptions(experimental) Write prettier configuration as YAML instead of JSON.Default: false
- Specified by:
getYamlin interfacePrettierOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-