@Stability(value=Experimental) @Internal public static final class EslintOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EslintOptions
EslintOptionssoftware.amazon.jsii.JsiiObject.InitializationModeEslintOptions.Builder, EslintOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(EslintOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
EslintOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getAliasExtensions()
(experimental) Enable import alias for module paths.
|
Map<String,String> |
getAliasMap()
(experimental) Enable import alias for module paths.
|
List<String> |
getDevdirs()
(experimental) Directories with source files that include tests and build tools.
|
List<String> |
getDirs()
(experimental) Directories with source files to lint (e.g.
|
List<String> |
getFileExtensions()
(experimental) File types that should be linted (e.g.
|
List<String> |
getIgnorePatterns()
(experimental) List of file patterns that should not be linted, using the same syntax as .gitignore patterns.
|
Boolean |
getLintProjenRc()
(experimental) Should we lint .projenrc.js.
|
Boolean |
getPrettier()
(experimental) Enable prettier for code formatting.
|
Boolean |
getTsAlwaysTryTypes()
(experimental) Always try to resolve types under `
|
String |
getTsconfigPath()
(experimental) Path to `tsconfig.json` which should be used by eslint.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(EslintOptions.Builder builder)
EslintOptions.Builder.public final List<String> getDirs()
EslintOptionsgetDirs in interface EslintOptionspublic final List<String> getAliasExtensions()
EslintOptionsDefault: undefined
getAliasExtensions in interface EslintOptionspublic final Map<String,String> getAliasMap()
EslintOptionsDefault: undefined
getAliasMap in interface EslintOptionspublic final List<String> getDevdirs()
EslintOptions
These
sources are linted but may also import packages from devDependencies.
Default: []
getDevdirs in interface EslintOptionspublic final List<String> getFileExtensions()
EslintOptionsDefault: [".ts"]
getFileExtensions in interface EslintOptionspublic final List<String> getIgnorePatterns()
EslintOptionsDefault: [ '*.js', '*.d.ts', 'node_modules/', '*.generated.ts', 'coverage' ]
getIgnorePatterns in interface EslintOptionspublic final Boolean getLintProjenRc()
EslintOptionsDefault: true
getLintProjenRc in interface EslintOptionspublic final Boolean getPrettier()
EslintOptionsDefault: false
getPrettier in interface EslintOptionspublic final Boolean getTsAlwaysTryTypes()
EslintOptions
This prevents import/no-unresolved eslint errors when importing a @types/* module that would otherwise remain unresolved.
Default: true
getTsAlwaysTryTypes in interface EslintOptionspublic final String getTsconfigPath()
EslintOptionsDefault: "./tsconfig.json"
getTsconfigPath in interface EslintOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.