/** * The configuration contained in `biome.json`. * * @schema BiomeConfiguration */ export interface BiomeConfiguration { /** * A field for the JSON schema specification: https://json-schema.org/ * * @schema BiomeConfiguration#$schema */ readonly schema?: string; /** * The assist configuration. * * @schema BiomeConfiguration#assist */ readonly assist?: AssistConfiguration; /** * Configuration specific to CSS. * * @schema BiomeConfiguration#css */ readonly css?: CssConfiguration; /** * A list of paths to other JSON files, used to extend the current configuration. * * @schema BiomeConfiguration#extends */ readonly extends?: string[]; /** * The file handling configuration. * * @schema BiomeConfiguration#files */ readonly files?: FilesConfiguration; /** * The formatter configuration. * * @schema BiomeConfiguration#formatter */ readonly formatter?: FormatterConfiguration; /** * Configuration specific to GraphQL. * * @schema BiomeConfiguration#graphql */ readonly graphql?: GraphqlConfiguration; /** * Configuration specific to GritQL. * * @schema BiomeConfiguration#grit */ readonly grit?: GritConfiguration; /** * Configuration specific to HTML. * * @schema BiomeConfiguration#html */ readonly html?: HtmlConfiguration; /** * Configuration specific to JavaScript. * * @schema BiomeConfiguration#javascript */ readonly javascript?: JsConfiguration; /** * Configuration specific to JSON. * * @schema BiomeConfiguration#json */ readonly json?: JsonConfiguration; /** * The linter configuration. * * @schema BiomeConfiguration#linter */ readonly linter?: LinterConfiguration; /** * A list of granular patterns applied only to a subset of files. * * @schema BiomeConfiguration#overrides */ readonly overrides?: OverridePattern[]; /** * List of plugins to load. * * @schema BiomeConfiguration#plugins */ readonly plugins?: any[]; /** * Indicates whether this configuration file is at the root of a Biome * project. By default, this is `true`. * * @schema BiomeConfiguration#root */ readonly root?: boolean; /** * The version control integration configuration. * * @schema BiomeConfiguration#vcs */ readonly vcs?: VcsConfiguration; } /** * Converts an object of type 'BiomeConfiguration' to JSON representation. * @internal */ export declare function toJson_BiomeConfiguration(obj: BiomeConfiguration | undefined): Record | undefined; /** * @schema AssistConfiguration */ export interface AssistConfiguration { /** * Whether Biome should fail in CLI if the assist were not applied to the code. * * @schema AssistConfiguration#actions */ readonly actions?: Actions; /** * Whether Biome should enable assist via LSP and CLI. * * @schema AssistConfiguration#enabled */ readonly enabled?: boolean; /** * A list of glob patterns. Biome will include files/folders that will * match these patterns. * * @schema AssistConfiguration#includes */ readonly includes?: string[]; } /** * Converts an object of type 'AssistConfiguration' to JSON representation. * @internal */ export declare function toJson_AssistConfiguration(obj: AssistConfiguration | undefined): Record | undefined; /** * Options applied to CSS files. * * @schema CssConfiguration */ export interface CssConfiguration { /** * CSS assist options. * * @schema CssConfiguration#assist */ readonly assist?: CssAssistConfiguration; /** * CSS formatter options. * * @schema CssConfiguration#formatter */ readonly formatter?: CssFormatterConfiguration; /** * CSS globals. * * @schema CssConfiguration#globals */ readonly globals?: string[]; /** * CSS linter options. * * @schema CssConfiguration#linter */ readonly linter?: CssLinterConfiguration; /** * CSS parsing options. * * @schema CssConfiguration#parser */ readonly parser?: CssParserConfiguration; } /** * Converts an object of type 'CssConfiguration' to JSON representation. * @internal */ export declare function toJson_CssConfiguration(obj: CssConfiguration | undefined): Record | undefined; /** * The file handling configuration. * * @schema FilesConfiguration */ export interface FilesConfiguration { /** * **Deprecated:** Please use _force-ignore syntax_ in `files.includes` * instead: * * Set of file and folder names that should be unconditionally ignored by * Biome's scanner. * * @schema FilesConfiguration#experimentalScannerIgnores */ readonly experimentalScannerIgnores?: string[]; /** * Prevents Biome from emitting diagnostics for unrecognized file types. * * @schema FilesConfiguration#ignoreUnknown */ readonly ignoreUnknown?: boolean; /** * A list of glob patterns. Biome handles only files and directories that match these * patterns. * * @schema FilesConfiguration#includes */ readonly includes?: string[]; /** * The maximum source file size in bytes. Biome ignores larger files. Defaults to `1 MiB`. * * @default 1 MiB`. * @schema FilesConfiguration#maxSize */ readonly maxSize?: number; } /** * Converts an object of type 'FilesConfiguration' to JSON representation. * @internal */ export declare function toJson_FilesConfiguration(obj: FilesConfiguration | undefined): Record | undefined; /** * Generic options applied to all files * * @schema FormatterConfiguration */ export interface FormatterConfiguration { /** * The attribute position style in HTML-like languages. Defaults to `auto`. * * @default auto`. * @schema FormatterConfiguration#attributePosition */ readonly attributePosition?: AttributePosition; /** * Places the `>` of a multiline HTML or JSX element at the end of the last line instead of on * the next line. Self-closing elements are unaffected. Defaults to `false`. * * @default false`. * @schema FormatterConfiguration#bracketSameLine */ readonly bracketSameLine?: boolean; /** * Whether to insert spaces inside braces in object literals. Defaults to `true`. * * @default true`. * @schema FormatterConfiguration#bracketSpacing */ readonly bracketSpacing?: boolean; /** * Controls spaces immediately inside supported delimiters when their content fits on one line. * It doesn't add spaces before opening delimiters or inside empty delimiters. * * The affected delimiters vary by language. Defaults to `false`. * * @default false`. * @schema FormatterConfiguration#delimiterSpacing */ readonly delimiterSpacing?: boolean; /** * @schema FormatterConfiguration#enabled */ readonly enabled?: boolean; /** * Controls whether arrays and objects are formatted on one line or multiple lines. * * `auto` formats objects on multiple lines if the first property has a newline, and arrays on * one line if they fit. * * `always` formats arrays and objects on multiple lines. * * `never` formats arrays and objects on one line if they fit. * * Defaults to `auto`. * * When formatting `package.json`, Biome uses `always` unless configured otherwise. * * @default auto`. * @schema FormatterConfiguration#expand */ readonly expand?: Expand; /** * Allows formatting files that contain syntax errors when set to `true`. Defaults to `false`. * * @default false`. * @schema FormatterConfiguration#formatWithErrors */ readonly formatWithErrors?: boolean; /** * A list of glob patterns. The formatter will include files/folders that will * match these patterns. * * @schema FormatterConfiguration#includes */ readonly includes?: string[]; /** * Uses tabs or spaces for indentation. Defaults to `tab`. * * @default tab`. * @schema FormatterConfiguration#indentStyle */ readonly indentStyle?: IndentStyle; /** * The indentation width. Defaults to `2`. * * @default 2`. * @schema FormatterConfiguration#indentWidth */ readonly indentWidth?: number; /** * Selects the line ending. `auto` uses the platform convention. Defaults to `lf`. * * @default lf`. * @schema FormatterConfiguration#lineEnding */ readonly lineEnding?: LineEnding; /** * The maximum line width. Defaults to `80`. * * @default 80`. * @schema FormatterConfiguration#lineWidth */ readonly lineWidth?: number; /** * Whether to add a trailing newline at the end of the file. Defaults to `true`; disabling * this option can cause compatibility problems with other tools. * * @default true`; disabling * @schema FormatterConfiguration#trailingNewline */ readonly trailingNewline?: boolean; /** * Uses `.editorconfig` files to configure the formatter. Settings in `biome.json` or * `biome.jsonc` override `.editorconfig` settings. Defaults to `false`. * * @default false`. * @schema FormatterConfiguration#useEditorconfig */ readonly useEditorconfig?: boolean; } /** * Converts an object of type 'FormatterConfiguration' to JSON representation. * @internal */ export declare function toJson_FormatterConfiguration(obj: FormatterConfiguration | undefined): Record | undefined; /** * Options applied to GraphQL files. * * @schema GraphqlConfiguration */ export interface GraphqlConfiguration { /** * GraphQL assist options. * * @schema GraphqlConfiguration#assist */ readonly assist?: GraphqlAssistConfiguration; /** * GraphQL formatter options. * * @schema GraphqlConfiguration#formatter */ readonly formatter?: GraphqlFormatterConfiguration; /** * GraphQL linter options. * * @schema GraphqlConfiguration#linter */ readonly linter?: GraphqlLinterConfiguration; } /** * Converts an object of type 'GraphqlConfiguration' to JSON representation. * @internal */ export declare function toJson_GraphqlConfiguration(obj: GraphqlConfiguration | undefined): Record | undefined; /** * Options applied to GritQL files. * * @schema GritConfiguration */ export interface GritConfiguration { /** * GritQL assist options. * * @schema GritConfiguration#assist */ readonly assist?: GritAssistConfiguration; /** * GritQL formatter options. * * @schema GritConfiguration#formatter */ readonly formatter?: GritFormatterConfiguration; /** * GritQL linter options. * * @schema GritConfiguration#linter */ readonly linter?: GritLinterConfiguration; } /** * Converts an object of type 'GritConfiguration' to JSON representation. * @internal */ export declare function toJson_GritConfiguration(obj: GritConfiguration | undefined): Record | undefined; /** * Options applied to HTML files. * * @schema HtmlConfiguration */ export interface HtmlConfiguration { /** * HTML assist options. * * @schema HtmlConfiguration#assist */ readonly assist?: HtmlAssistConfiguration; /** * Enables full support for HTML, Vue, Svelte, and Astro files. * * @schema HtmlConfiguration#experimentalFullSupportEnabled */ readonly experimentalFullSupportEnabled?: boolean; /** * HTML formatter options. * * @schema HtmlConfiguration#formatter */ readonly formatter?: HtmlFormatterConfiguration; /** * HTML linter options. * * @schema HtmlConfiguration#linter */ readonly linter?: HtmlLinterConfiguration; /** * HTML parsing options. * * @schema HtmlConfiguration#parser */ readonly parser?: HtmlParserConfiguration; } /** * Converts an object of type 'HtmlConfiguration' to JSON representation. * @internal */ export declare function toJson_HtmlConfiguration(obj: HtmlConfiguration | undefined): Record | undefined; /** * A set of options applied to the JavaScript files * * @schema JsConfiguration */ export interface JsConfiguration { /** * Assist options * * @schema JsConfiguration#assist */ readonly assist?: JsAssistConfiguration; /** * Enables support for embedding snippets. * * @schema JsConfiguration#experimentalEmbeddedSnippetsEnabled */ readonly experimentalEmbeddedSnippetsEnabled?: boolean; /** * Formatting options * * @schema JsConfiguration#formatter */ readonly formatter?: JsFormatterConfiguration; /** * A list of global bindings that should be ignored by the analyzers * * If defined here, they should not emit diagnostics. * * @schema JsConfiguration#globals */ readonly globals?: string[]; /** * Indicates the type of runtime or transformation used for interpreting JSX. * * @schema JsConfiguration#jsxRuntime */ readonly jsxRuntime?: JsxRuntime; /** * Linter options * * @schema JsConfiguration#linter */ readonly linter?: JsLinterConfiguration; /** * Parsing options * * @schema JsConfiguration#parser */ readonly parser?: JsParserConfiguration; /** * Module/dependency resolver options * * @schema JsConfiguration#resolver */ readonly resolver?: JsResolverConfiguration; } /** * Converts an object of type 'JsConfiguration' to JSON representation. * @internal */ export declare function toJson_JsConfiguration(obj: JsConfiguration | undefined): Record | undefined; /** * Options applied to JSON files * * @schema JsonConfiguration */ export interface JsonConfiguration { /** * Assist options * * @schema JsonConfiguration#assist */ readonly assist?: JsonAssistConfiguration; /** * Formatting options * * @schema JsonConfiguration#formatter */ readonly formatter?: JsonFormatterConfiguration; /** * Linting options * * @schema JsonConfiguration#linter */ readonly linter?: JsonLinterConfiguration; /** * Parsing options * * @schema JsonConfiguration#parser */ readonly parser?: JsonParserConfiguration; } /** * Converts an object of type 'JsonConfiguration' to JSON representation. * @internal */ export declare function toJson_JsonConfiguration(obj: JsonConfiguration | undefined): Record | undefined; /** * @schema LinterConfiguration */ export interface LinterConfiguration { /** * An object where the keys are the names of the domains, and the values are `all`, `recommended`, or `none`. * * @schema LinterConfiguration#domains */ readonly domains?: RuleDomains; /** * if `false`, it disables the feature and the linter won't be executed. `true` by default * * @schema LinterConfiguration#enabled */ readonly enabled?: boolean; /** * A list of glob patterns. The analyzer will handle only those files/folders that will * match these patterns. * * @schema LinterConfiguration#includes */ readonly includes?: string[]; /** * List of rules * * @schema LinterConfiguration#rules */ readonly rules?: Rules; } /** * Converts an object of type 'LinterConfiguration' to JSON representation. * @internal */ export declare function toJson_LinterConfiguration(obj: LinterConfiguration | undefined): Record | undefined; /** * @schema OverridePattern */ export interface OverridePattern { /** * Specific configuration for the Json language * * @schema OverridePattern#assist */ readonly assist?: OverrideAssistConfiguration; /** * Specific configuration for the CSS language * * @schema OverridePattern#css */ readonly css?: CssConfiguration; /** * Specific configuration for the filesystem * * @schema OverridePattern#files */ readonly files?: OverrideFilesConfiguration; /** * Specific configuration for the Json language * * @schema OverridePattern#formatter */ readonly formatter?: OverrideFormatterConfiguration; /** * Specific configuration for the Graphql language * * @schema OverridePattern#graphql */ readonly graphql?: GraphqlConfiguration; /** * Specific configuration for the GritQL language * * @schema OverridePattern#grit */ readonly grit?: GritConfiguration; /** * Specific configuration for the GritQL language * * @schema OverridePattern#html */ readonly html?: HtmlConfiguration; /** * A list of glob patterns. Biome will include files/folders that will * match these patterns. * * @schema OverridePattern#includes */ readonly includes?: string[]; /** * Specific configuration for the JavaScript language * * @schema OverridePattern#javascript */ readonly javascript?: JsConfiguration; /** * Specific configuration for the Json language * * @schema OverridePattern#json */ readonly json?: JsonConfiguration; /** * Specific configuration for the Json language * * @schema OverridePattern#linter */ readonly linter?: OverrideLinterConfiguration; /** * Specific configuration for additional plugins * * @schema OverridePattern#plugins */ readonly plugins?: any[]; } /** * Converts an object of type 'OverridePattern' to JSON representation. * @internal */ export declare function toJson_OverridePattern(obj: OverridePattern | undefined): Record | undefined; /** * Settings for integrating Biome with version control. * * @schema VcsConfiguration */ export interface VcsConfiguration { /** * The version control client. * * @schema VcsConfiguration#clientKind */ readonly clientKind?: VcsClientKind; /** * The project's default branch. * * @schema VcsConfiguration#defaultBranch */ readonly defaultBranch?: string; /** * Whether Biome should integrate with the version control client. * * @schema VcsConfiguration#enabled */ readonly enabled?: boolean; /** * Sets the directory where Biome checks for version control files. * * Defaults to the directory containing `biome.json` or `biome.jsonc`. If no configuration is * found, Biome uses the current working directory. * * If neither directory is available, Biome disables version control integration and emits a * diagnostic. * * @default the directory containing `biome.json` or `biome.jsonc`. If no configuration is * @schema VcsConfiguration#root */ readonly root?: string; /** * When `true`, Biome ignores files listed in `.gitignore`, `.ignore`, and Git's local * exclude file. * * @schema VcsConfiguration#useIgnoreFile */ readonly useIgnoreFile?: boolean; } /** * Converts an object of type 'VcsConfiguration' to JSON representation. * @internal */ export declare function toJson_VcsConfiguration(obj: VcsConfiguration | undefined): Record | undefined; /** * @schema Actions */ export interface Actions { /** * The actions preset to use. * * @schema Actions#preset */ readonly preset?: PresetConfig; /** * It enables the assist actions recommended by Biome. `true` by default. * * @schema Actions#recommended */ readonly recommended?: boolean; /** * @schema Actions#source */ readonly source?: Source; } /** * Converts an object of type 'Actions' to JSON representation. * @internal */ export declare function toJson_Actions(obj: Actions | undefined): Record | undefined; /** * Options that change how CSS assist behaves. * * @schema CssAssistConfiguration */ export interface CssAssistConfiguration { /** * Controls assist actions for CSS files. * * @schema CssAssistConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'CssAssistConfiguration' to JSON representation. * @internal */ export declare function toJson_CssAssistConfiguration(obj: CssAssistConfiguration | undefined): Record | undefined; /** * Options that change how the CSS formatter behaves. * * @schema CssFormatterConfiguration */ export interface CssFormatterConfiguration { /** * Controls spaces inside CSS parentheses and square brackets when their content fits on one * line. When enabled, `rgb(0, 0, 0)` becomes `rgb( 0, 0, 0 )` and `[data-attr]` becomes * `[ data-attr ]`. Empty delimiters are unchanged. * * If unset, inherits the global delimiter spacing setting. * * @schema CssFormatterConfiguration#delimiterSpacing */ readonly delimiterSpacing?: boolean; /** * Controls the formatter for CSS and languages that extend it. * * @schema CssFormatterConfiguration#enabled */ readonly enabled?: boolean; /** * The indent style applied to CSS and languages that extend it. If unset, inherits the global * indentation style. * * @schema CssFormatterConfiguration#indentStyle */ readonly indentStyle?: IndentStyle; /** * The indentation width applied to CSS and languages that extend it. If unset, inherits the * global indentation width. * * @schema CssFormatterConfiguration#indentWidth */ readonly indentWidth?: number; /** * The line ending applied to CSS and languages that extend it. If unset, inherits the global * line ending. * * @schema CssFormatterConfiguration#lineEnding */ readonly lineEnding?: LineEnding; /** * The maximum line width for CSS and languages that extend it. If unset, inherits the global * line width. * * @schema CssFormatterConfiguration#lineWidth */ readonly lineWidth?: number; /** * The type of quotes used in CSS code. Defaults to `double`. * * @default double`. * @schema CssFormatterConfiguration#quoteStyle */ readonly quoteStyle?: QuoteStyle; /** * Whether to add a trailing newline at the end of the file. If unset, inherits the global * trailing newline setting. * * @schema CssFormatterConfiguration#trailingNewline */ readonly trailingNewline?: boolean; } /** * Converts an object of type 'CssFormatterConfiguration' to JSON representation. * @internal */ export declare function toJson_CssFormatterConfiguration(obj: CssFormatterConfiguration | undefined): Record | undefined; /** * Options that change how the CSS linter behaves. * * @schema CssLinterConfiguration */ export interface CssLinterConfiguration { /** * Controls the linter for CSS files. * * @schema CssLinterConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'CssLinterConfiguration' to JSON representation. * @internal */ export declare function toJson_CssLinterConfiguration(obj: CssLinterConfiguration | undefined): Record | undefined; /** * Options that change how the CSS parser behaves. * * @schema CssParserConfiguration */ export interface CssParserConfiguration { /** * Allows comments to appear on incorrect lines in `.css` files. * * @schema CssParserConfiguration#allowWrongLineComments */ readonly allowWrongLineComments?: boolean; /** * Enables parsing of CSS Modules-specific features. Enable this feature only * when your files don't end in `.module.css`. * * @schema CssParserConfiguration#cssModules */ readonly cssModules?: boolean; /** * Enables parsing of Tailwind CSS 4.0 directives and functions. * * @schema CssParserConfiguration#tailwindDirectives */ readonly tailwindDirectives?: boolean; } /** * Converts an object of type 'CssParserConfiguration' to JSON representation. * @internal */ export declare function toJson_CssParserConfiguration(obj: CssParserConfiguration | undefined): Record | undefined; /** * @schema AttributePosition */ export declare enum AttributePosition { /** auto */ AUTO = "auto", /** multiline */ MULTILINE = "multiline" } /** * @schema Expand */ export declare enum Expand { /** Objects are expanded when the first property has a leading newline. Arrays remain on one line if they fit. (auto) */ AUTO = "auto", /** Objects and arrays are always expanded. (always) */ ALWAYS = "always", /** Objects and arrays remain on one line if they fit. (never) */ NEVER = "never" } /** * @schema IndentStyle */ export declare enum IndentStyle { /** Indent with Tab (tab) */ TAB = "tab", /** Indent with Space (space) */ SPACE = "space" } /** * @schema LineEnding */ export declare enum LineEnding { /** Line Feed only (\n), common on Linux and macOS as well as inside git repos (lf) */ LF = "lf", /** Carriage Return + Line Feed characters (\r\n), common on Windows (crlf) */ CRLF = "crlf", /** Carriage Return character only (\r), used very rarely (cr) */ CR = "cr", /** Automatically use CRLF on Windows and LF on other platforms (auto) */ AUTO = "auto" } /** * Options that change how GraphQL assist behaves. * * @schema GraphqlAssistConfiguration */ export interface GraphqlAssistConfiguration { /** * Controls assist actions for GraphQL files. * * @schema GraphqlAssistConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'GraphqlAssistConfiguration' to JSON representation. * @internal */ export declare function toJson_GraphqlAssistConfiguration(obj: GraphqlAssistConfiguration | undefined): Record | undefined; /** * Options that change how the GraphQL formatter behaves. * * @schema GraphqlFormatterConfiguration */ export interface GraphqlFormatterConfiguration { /** * Whether to insert spaces inside braces in object literals. If unset, inherits the global * bracket spacing setting. * * @schema GraphqlFormatterConfiguration#bracketSpacing */ readonly bracketSpacing?: boolean; /** * Controls the formatter for GraphQL files. * * @schema GraphqlFormatterConfiguration#enabled */ readonly enabled?: boolean; /** * The indent style applied to GraphQL files. If unset, inherits the global indentation style. * * @schema GraphqlFormatterConfiguration#indentStyle */ readonly indentStyle?: IndentStyle; /** * The indentation width applied to GraphQL files. If unset, inherits the global indentation * width. * * @schema GraphqlFormatterConfiguration#indentWidth */ readonly indentWidth?: number; /** * The line ending applied to GraphQL files. If unset, inherits the global line ending. * * @schema GraphqlFormatterConfiguration#lineEnding */ readonly lineEnding?: LineEnding; /** * The maximum line width for GraphQL files. If unset, inherits the global line width. * * @schema GraphqlFormatterConfiguration#lineWidth */ readonly lineWidth?: number; /** * The type of quotes used in GraphQL code. Defaults to `double`. * * @default double`. * @schema GraphqlFormatterConfiguration#quoteStyle */ readonly quoteStyle?: QuoteStyle; /** * Whether to add a trailing newline at the end of the file. If unset, inherits the global * trailing newline setting. * * @schema GraphqlFormatterConfiguration#trailingNewline */ readonly trailingNewline?: boolean; } /** * Converts an object of type 'GraphqlFormatterConfiguration' to JSON representation. * @internal */ export declare function toJson_GraphqlFormatterConfiguration(obj: GraphqlFormatterConfiguration | undefined): Record | undefined; /** * Options that change how the GraphQL linter behaves. * * @schema GraphqlLinterConfiguration */ export interface GraphqlLinterConfiguration { /** * Controls the linter for GraphQL files. * * @schema GraphqlLinterConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'GraphqlLinterConfiguration' to JSON representation. * @internal */ export declare function toJson_GraphqlLinterConfiguration(obj: GraphqlLinterConfiguration | undefined): Record | undefined; /** * Options that change how GritQL assist behaves. * * @schema GritAssistConfiguration */ export interface GritAssistConfiguration { /** * Controls assist actions for GritQL files. * * @schema GritAssistConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'GritAssistConfiguration' to JSON representation. * @internal */ export declare function toJson_GritAssistConfiguration(obj: GritAssistConfiguration | undefined): Record | undefined; /** * Options that change how the GritQL formatter behaves. * * @schema GritFormatterConfiguration */ export interface GritFormatterConfiguration { /** * Controls the formatter for GritQL files. * * @schema GritFormatterConfiguration#enabled */ readonly enabled?: boolean; /** * The indent style applied to GritQL files. If unset, inherits the global indentation style. * * @schema GritFormatterConfiguration#indentStyle */ readonly indentStyle?: IndentStyle; /** * The indentation width applied to GritQL files. If unset, inherits the global indentation * width. * * @schema GritFormatterConfiguration#indentWidth */ readonly indentWidth?: number; /** * The line ending applied to GritQL files. If unset, inherits the global line ending. * * @schema GritFormatterConfiguration#lineEnding */ readonly lineEnding?: LineEnding; /** * The maximum line width for GritQL files. If unset, inherits the global line width. * * @schema GritFormatterConfiguration#lineWidth */ readonly lineWidth?: number; /** * Whether to add a trailing newline at the end of the file. If unset, inherits the global * trailing newline setting. * * @schema GritFormatterConfiguration#trailingNewline */ readonly trailingNewline?: boolean; } /** * Converts an object of type 'GritFormatterConfiguration' to JSON representation. * @internal */ export declare function toJson_GritFormatterConfiguration(obj: GritFormatterConfiguration | undefined): Record | undefined; /** * Options that change how the GritQL linter behaves. * * @schema GritLinterConfiguration */ export interface GritLinterConfiguration { /** * Controls the linter for GritQL files. * * @schema GritLinterConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'GritLinterConfiguration' to JSON representation. * @internal */ export declare function toJson_GritLinterConfiguration(obj: GritLinterConfiguration | undefined): Record | undefined; /** * Options that change how HTML assist behaves. * * @schema HtmlAssistConfiguration */ export interface HtmlAssistConfiguration { /** * Controls assist actions for HTML and languages that extend it. * * @schema HtmlAssistConfiguration#enabled */ readonly enabled?: boolean; } /** * Converts an object of type 'HtmlAssistConfiguration' to JSON representation. * @internal */ export declare function toJson_HtmlAssistConfiguration(obj: HtmlAssistConfiguration | undefined): Record | undefined; /** * Options that change how the HTML formatter behaves. * * @schema HtmlFormatterConfiguration */ export interface HtmlFormatterConfiguration { /** * The attribute position style in HTML elements. If unset, inherits the global attribute * position setting. * * @schema HtmlFormatterConfiguration#attributePosition */ readonly attributePosition?: AttributePosition; /** * Whether to place the closing bracket of a multiline HTML tag at the end of the last line * instead of on its own line. If unset, inherits the global `bracketSameLine` setting. * * @schema HtmlFormatterConfiguration#bracketSameLine */ readonly bracketSameLine?: boolean; /** * Controls the formatter for HTML and languages that extend it. * * @schema HtmlFormatterConfiguration#enabled */ readonly enabled?: boolean; /** * Whether to indent `