@prettier/plugin-pug
Advanced tools
Comparing version 1.8.1 to 1.9.0
# Next | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.8.1...master) | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.9.0...master) | ||
# 1.9.0 | ||
[diff](https://github.com/prettier/plugin-pug/compare/1.8.1...1.9.0) | ||
- Support indentation for SFC ([#140]) | ||
- Fix issues with plain-text and nesting ([#138]) | ||
[#140]: https://github.com/prettier/plugin-pug/issues/140 | ||
[#138]: https://github.com/prettier/plugin-pug/issues/138 | ||
# 1.8.1 | ||
@@ -6,0 +16,0 @@ |
@@ -80,2 +80,2 @@ "use strict"; | ||
exports.defaultOptions = exports.plugin.defaultOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBWUEsaUNBQWlDO0FBRWpDLHFDQUEwRDtBQUMxRCx1Q0FBb0U7QUFDcEUsaURBQXFEO0FBQ3JELHVDQUEwRDtBQUUxRCxNQUFNLE1BQU0sR0FBVyxxQkFBWSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQzdDLElBQUksT0FBTyxDQUFDLEdBQUcsQ0FBQyxRQUFRLEtBQUssTUFBTSxFQUFFO0lBQ3BDLE1BQU0sQ0FBQyxXQUFXLENBQUMsaUJBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQztDQUNuQztBQU9ZLFFBQUEsTUFBTSxHQUFXO0lBQzdCLFNBQVMsRUFBRTtRQUNWO1lBQ0MsSUFBSSxFQUFFLEtBQUs7WUFDWCxPQUFPLEVBQUUsQ0FBQyxLQUFLLENBQUM7WUFDaEIsT0FBTyxFQUFFLFdBQVc7WUFDcEIsT0FBTyxFQUFFLE1BQU07WUFDZixjQUFjLEVBQUUsS0FBSztZQUNyQixrQkFBa0IsRU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FBQWEsRUFBRSxhQUFhLEdBQUcsS0FBSyxDQUFDLE1BQU0sSUFBSSxLQUFLLENBQUMsYUFBYSxDQUFDLEtBQUssR0FBRyxFQUFFLGFBQWEsRUFBRSxFQUFFO2dCQUNsRyxNQUFNLElBQUksR0FBRyxDQUFDO2FBQ2Q7WUFDRCxNQUFNLElBQUksS0FBSyxDQUFDLEtBQUssQ0FBQyxhQUFhLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQyxPQUFPLENBQUMsUUFBUSxFQUFFLEdBQUcsQ0FBQyxDQUFDO1lBQ25FLE9BQU8sTUFBTSxDQUFDO1NBQ2Q7UUFDRCxLQUFLLFVBQVUsQ0FBQyxDQUFDO1lBQ2hCLElBQUksTUFBTSxHQUFXLEtBQUssQ0FBQyxJQUFJLEVBQUUsQ0FBQztZQUNsQyxNQUFNLEdBQUcsTUFBTSxDQUFDLE9BQU8sQ0FBQyxRQUFRLEVBQUUsR0FBRyxDQUFDLENBQUM7WUFDdkMsSUFBSSxDQUFDLFFBQVEsSUFBSSxLQUFLLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRyxFQUFFO2dCQUNsQyxNQUFNLEdBQUcsSUFBSSxNQUFNLEVBQUUsQ0FBQzthQUN0QjtZQUNELE9BQU8sTUFBTSxDQUFDO1NBQ2Q7UUFDRCxLQUFLLFVBQVUsQ0FBQztRQUNoQjtZQUVDLE9BQU8sS0FBSyxDQUFDO0tBQ2Q7QUFDRixDQUFDO0FBNUJELGtFQTRCQyJ9 |
@@ -18,2 +18,3 @@ "use strict"; | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -51,2 +52,3 @@ { | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -76,2 +78,3 @@ { | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -101,2 +104,3 @@ { | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -142,2 +146,2 @@ { | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2Z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sT0FBTztZQUNkLFdBQVcsRUFBRSw4Q0FBOEM7U0FDM0Q7S0FDRDtDQUNELENBQUMifQ== |
@@ -28,6 +28,7 @@ "use strict"; | ||
pugWrapAttributesThreshold: options.pugWrapAttributesThreshold, | ||
pugWrapAttributesPattern: options.pugWrapAttributesPattern | ||
pugWrapAttributesPattern: options.pugWrapAttributesPattern, | ||
pugSingleFileComponentIndentation: options.pugSingleFileComponentIndentation && options.embeddedInHtml | ||
}; | ||
} | ||
exports.convergeOptions = convergeOptions; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVyZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvb3B0aW9ucy9jb252ZXJnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFTQSxTQUFnQixlQUFlLENBQUMsT0FBeUM7O0lBQ3hFLE9BQU87UUFDTixVQUFVLEVBQUUsT0FBTyxDQUFDLFVBQVU7UUFDOUIsYUFBYSxFQUFFLE9BQU8sQ0FBQyxhQUFhLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxhQUFhLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxVQUFVO1FBQ3hGLFdBQVcsRUFBRSxPQUFPLENBQUMsV0FBVztRQUNoQyxjQUFjLFFBQUUsT0FBTyxDQUFDLGNBQWMsbUNBQUksT0FBTyxDQUFDLFdBQVc7UUFDN0QsUUFBUSxFQUFFLE9BQU8sQ0FBQyxRQUFRO1FBQzFCLFdBQVcsRUFBRSxPQUFPLENBQUMsV0FBVyxLQUFLLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQyxPQUFPLENBQUMsUUFBUTtRQUNoRixPQUFPLEVBQUUsT0FBTyxDQUFDLE9BQU87UUFDeEIsVUFBVSxRQUFFL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UFBRSxPQUFPLENBQUMscUJBQXFCLG1DQUFJLE9BQU8sQ0FBQyxrQkFBa0I7UUFDL0Usc0JBQXNCLFFBQUUsT0FBTyxDQUFDLHlCQUF5QixtQ0FBSSxPQUFPLENBQUMsc0JBQXNCO1FBQzNGLHFCQUFxQixRQUFFLE9BQU8sQ0FBQyx3QkFBd0IsbUNBQUksT0FBTyxDQUFDLHFCQUFxQjtRQUN4RixpQkFBaUIsRUFBRSxPQUFPLENBQUMsaUJBQWlCO1FBQzVDLDBCQUEwQixFQUFFLE9BQU8sQ0FBQywwQkFBMEI7UUFDOUQsb0JBQW9CLEVBQUUsT0FBTyxDQUFDLG9CQUFvQjtRQUNsRCwwQkFBMEIsRUFBRSxPQUFPLENBQUMsMEJBQTBCO1FBQzlELHdCQUF3QixFQUFFLE9BQU8sQ0FBQyx3QkFBd0I7UUFDMUQsaUNBQWlDLEVBQUUsT0FBTyxDQUFDLGlDQUFpQyxJQUFJLE9BQU8sQ0FBQyxjQUFjO0tBQ3RHLENBQUM7QUFDSCxDQUFDO0FBMUJELDBDQTBCQyJ9 |
@@ -9,2 +9,3 @@ "use strict"; | ||
const common_1 = require("./common"); | ||
const pug_single_file_component_indentation_1 = require("./pug-single-file-component-indentation"); | ||
const wrap_attributes_1 = require("./wrap-attributes"); | ||
@@ -30,4 +31,5 @@ exports.CATEGORY_PUG = 'Pug'; | ||
pugWrapAttributesThreshold: wrap_attributes_1.WRAP_ATTRIBUTES_THRESHOLD, | ||
pugWrapAttributesPattern: wrap_attributes_1.WRAP_ATTRIBUTES_PATTERN | ||
pugWrapAttributesPattern: wrap_attributes_1.WRAP_ATTRIBUTES_PATTERN, | ||
pugSingleFileComponentIndentation: pug_single_file_component_indentation_1.PUG_SINGLE_FILE_COMPONENT_INDENTATION | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uL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BQzdCLHlFQUlvQztBQUNwQyx1RUFJbUM7QUFDbkMscUNBU2tCO0FBQ2xCLG1HQUFnRztBQUNoRyx1REFBdUY7QUFLMUUsUUFBQSxZQUFZLEdBQVcsS0FBSyxDQUFDO0FBdUM3QixRQUFBLE9BQU8sR0FBbUI7SUFDdEMsYUFBYSxFQUFFLCtCQUFzQjtJQUNyQyxjQUFjLEVBQUUsZ0NBQXVCO0lBQ3ZDLFdBQVcsRUFBRSw2QkFBb0I7SUFDakMsVUFBVSxFQUFFLDRCQUFtQjtJQUMvQixpQkFBaUIsRUFBRSxtQ0FBMEI7SUFDN0MsY0FBYyxFQUFFLGdDQUF1QjtJQUN2QyxPQUFPLEVBQUUsd0JBQWU7SUFDeEIsa0JBQWtCLEVBQUUsZ0RBQTBCO0lBQzlDLHFCQUFxQixFQUFFLG9EQUE4QjtJQUNyRCxzQkFBc0IsRUFBRSwwREFBK0I7SUFDdkQseUJBQXlCLEVBQUUsOERBQW1DO0lBQzlELHFCQUFxQixFQUFFLHdEQUE4QjtJQUNyRCx3QkFBd0IsRUFBRSw0REFBa0M7SUFDNUQsaUJBQWlCLEVBQUUsOENBQTBCO0lBQzdDLDBCQUEwQixFQUFFLHdEQUFvQztJQUNoRSxvQkFBb0IsRUFBRSxrREFBOEI7SUFDcEQsMEJBQTBCLEVBQUUsMkNBQXlCO0lBQ3JELHdCQUF3QixFQUFFLHlDQUF1QjtJQUNqRCxpQ0FBaUMsRUFBRSw2RUFBcUM7Q0FDeEUsQ0FBQyJ9 |
@@ -16,6 +16,6 @@ "use strict"; | ||
category: _1.CATEGORY_PUG, | ||
type: 'string', | ||
type: 'path', | ||
default: '', | ||
description: 'Regex pattern to match attributes against that should always trigger wrapping.' | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JhcC1hdHRyaWJ1dGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL29wdGlvb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dBQUcsRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLENBQUMsRUFBRTtDQUM1QyxDQUFDO0FBRVcsUUFBQSx1QkFBdUIsR0FBc0I7SUFDekQsS0FBSyxFQUFFLE9BQU87SUFDZCxRQUFRLEVBQUUsZUFBWTtJQUN0QixJQUFJLEVBQUUsTUFBTTtJQUNaLE9BQU8sRUFBRSxFQUFFO0lBQ1gsV0FBVyxFQUFFLGdGQUFnRjtDQUM3RixDQUFDIn0= |
{ | ||
"name": "@prettier/plugin-pug", | ||
"version": "1.8.1", | ||
"version": "1.9.0", | ||
"description": "Prettier Pug Plugin", | ||
@@ -40,11 +40,11 @@ "main": "dist/index.js", | ||
"@types/jest": "~26.0.14", | ||
"@types/node": "~14.11.2", | ||
"@types/prettier": "~2.1.1", | ||
"@typescript-eslint/eslint-plugin": "~4.3.0", | ||
"@typescript-eslint/parser": "~4.3.0", | ||
"@types/node": "~14.11.10", | ||
"@types/prettier": "~2.1.5", | ||
"@typescript-eslint/eslint-plugin": "~4.4.1", | ||
"@typescript-eslint/parser": "~4.4.1", | ||
"benchmark": "~2.1.4", | ||
"eslint": "~7.10.0", | ||
"eslint-config-prettier": "~6.12.0", | ||
"eslint": "~7.11.0", | ||
"eslint-config-prettier": "~6.13.0", | ||
"eslint-plugin-prettier": "~3.1.4", | ||
"jest": "~26.5.0", | ||
"jest": "~26.5.3", | ||
"jest-junit": "~12.0.0", | ||
@@ -51,0 +51,0 @@ "prettier": "2.1.2", |
@@ -205,2 +205,3 @@ <p align="center"> | ||
Define the maximum amount of attributes that an element can appear with on one line before it gets wrapped. | ||
- `pugWrapAttributesPattern` | ||
@@ -241,2 +242,6 @@ Define a regex pattern to match attributes against that should always trigger wrapping. | ||
- `pugSingleFileComponentIndentation` | ||
Indent pug in template tags in single file components such as from vue or svelte. | ||
_default_: `false` | ||
## Some workarounds | ||
@@ -243,0 +248,0 @@ |
@@ -11,3 +11,3 @@ import { | ||
SupportLanguage, | ||
SupportOption | ||
SupportOptions | ||
} from 'prettier'; | ||
@@ -106,3 +106,3 @@ import * as lex from 'pug-lexer'; | ||
export const printers: { [astFormat: string]: Printer } | undefined = plugin.printers; | ||
export const options: SupportOption[] | undefined = plugin.options; | ||
export const options: SupportOptions | undefined = plugin.options; | ||
export const defaultOptions: Partial<RequiredOptions> | undefined = plugin.defaultOptions; |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
export const ATTRIBUTE_SEPARATOR_OPTION = { | ||
export const ATTRIBUTE_SEPARATOR_OPTION: ChoiceSupportOption<AttributeSeparator> = { | ||
since: '1.0.0', | ||
@@ -29,3 +29,3 @@ category: CATEGORY_PUG, | ||
export const PUG_ATTRIBUTE_SEPARATOR_OPTION = { | ||
export const PUG_ATTRIBUTE_SEPARATOR_OPTION: ChoiceSupportOption<AttributeSeparator | null> = { | ||
...ATTRIBUTE_SEPARATOR_OPTION, | ||
@@ -32,0 +32,0 @@ since: '1.6.0', |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { ChoiceSupportOption, PathArraySupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '..'; | ||
const pugSortAttributesOption = { | ||
const pugSortAttributesOption: PathArraySupportOption = { | ||
since: '1.7.0', | ||
@@ -13,3 +13,3 @@ category: CATEGORY_PUG, | ||
export const PUG_SORT_ATTRIBUTES_BEGINNING_OPTION = { | ||
export const PUG_SORT_ATTRIBUTES_BEGINNING_OPTION: PathArraySupportOption = { | ||
...pugSortAttributesOption, | ||
@@ -19,3 +19,3 @@ description: 'Define a list of patterns for attributes that are sorted to the beginning.' | ||
export const PUG_SORT_ATTRIBUTES_END_OPTION = { | ||
export const PUG_SORT_ATTRIBUTES_END_OPTION: PathArraySupportOption = { | ||
...pugSortAttributesOption, | ||
@@ -25,3 +25,3 @@ description: 'Define a list of patterns for attributes that are sorted at the end.' | ||
export const PUG_SORT_ATTRIBUTES_OPTION = { | ||
export const PUG_SORT_ATTRIBUTES_OPTION: ChoiceSupportOption<SortAttributes> = { | ||
since: '1.8.0', | ||
@@ -28,0 +28,0 @@ category: CATEGORY_PUG, |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
export const CLOSING_BRACKET_POSITION_OPTION = { | ||
export const CLOSING_BRACKET_POSITION_OPTION: ChoiceSupportOption<ClosingBracketPosition> = { | ||
since: '1.3.0', | ||
@@ -41,3 +41,3 @@ category: CATEGORY_PUG, | ||
export const PUG_CLOSING_BRACKET_POSITION_OPTION = { | ||
export const PUG_CLOSING_BRACKET_POSITION_OPTION: ChoiceSupportOption<ClosingBracketPosition | null> = { | ||
...CLOSING_BRACKET_POSITION_OPTION, | ||
@@ -44,0 +44,0 @@ since: '1.6.0', |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { ChoiceSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
export const COMMENT_PRESERVE_SPACES_OPTION = { | ||
export const COMMENT_PRESERVE_SPACES_OPTION: ChoiceSupportOption<CommentPreserveSpaces> = { | ||
since: '1.1.0', | ||
@@ -26,3 +26,3 @@ category: CATEGORY_PUG, | ||
export const PUG_COMMENT_PRESERVE_SPACES_OPTION = { | ||
export const PUG_COMMENT_PRESERVE_SPACES_OPTION: ChoiceSupportOption<CommentPreserveSpaces | null> = { | ||
...COMMENT_PRESERVE_SPACES_OPTION, | ||
@@ -29,0 +29,0 @@ since: '1.6.0', |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { ChoiceSupportOption, IntSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
export const PUG_PRINT_WIDTH_OPTION = { | ||
export const PUG_PRINT_WIDTH_OPTION: IntSupportOption = { | ||
since: '1.6.0', | ||
@@ -13,3 +13,3 @@ category: CATEGORY_PUG, | ||
export const PUG_SINGLE_QUOTE_OPTION = { | ||
export const PUG_SINGLE_QUOTE_OPTION: ChoiceSupportOption<boolean | 'true' | null> = { | ||
since: '1.6.0', | ||
@@ -19,2 +19,3 @@ category: CATEGORY_PUG, | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -41,3 +42,3 @@ { | ||
export const PUG_TAB_WIDTH_OPTION = { | ||
export const PUG_TAB_WIDTH_OPTION: IntSupportOption = { | ||
since: '1.6.0', | ||
@@ -51,3 +52,3 @@ category: CATEGORY_PUG, | ||
export const PUG_USE_TABS_OPTION = { | ||
export const PUG_USE_TABS_OPTION: ChoiceSupportOption<boolean | 'true' | null> = { | ||
since: '1.6.0', | ||
@@ -57,2 +58,3 @@ category: CATEGORY_PUG, | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -79,3 +81,3 @@ { | ||
export const PUG_BRACKET_SPACING_OPTION = { | ||
export const PUG_BRACKET_SPACING_OPTION: ChoiceSupportOption<boolean | 'true' | null> = { | ||
since: '1.6.0', | ||
@@ -85,2 +87,3 @@ category: CATEGORY_PUG, | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -107,3 +110,3 @@ { | ||
export const PUG_SEMI_OPTION = { | ||
export const PUG_SEMI_OPTION: ChoiceSupportOption<boolean | 'true' | null> = { | ||
since: '1.6.0', | ||
@@ -113,2 +116,3 @@ category: CATEGORY_PUG, | ||
default: null, | ||
description: '', | ||
choices: [ | ||
@@ -135,3 +139,3 @@ { | ||
export const PUG_ARROW_PARENS_OPTION = { | ||
export const PUG_ARROW_PARENS_OPTION: ChoiceSupportOption<ArrowParens | null> = { | ||
since: '1.7.0', | ||
@@ -138,0 +142,0 @@ category: CATEGORY_PUG, |
@@ -33,4 +33,5 @@ import { ParserOptions } from 'prettier'; | ||
pugWrapAttributesThreshold: options.pugWrapAttributesThreshold, | ||
pugWrapAttributesPattern: options.pugWrapAttributesPattern | ||
pugWrapAttributesPattern: options.pugWrapAttributesPattern, | ||
pugSingleFileComponentIndentation: options.pugSingleFileComponentIndentation && options.embeddedInHtml | ||
}; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { ParserOptions } from 'prettier'; | ||
import { ParserOptions, SupportOptions } from 'prettier'; | ||
import { AttributeSeparator, ATTRIBUTE_SEPARATOR_OPTION, PUG_ATTRIBUTE_SEPARATOR_OPTION } from './attribute-separator'; | ||
@@ -29,2 +29,3 @@ import { | ||
} from './common'; | ||
import { PUG_SINGLE_FILE_COMPONENT_INDENTATION } from './pug-single-file-component-indentation'; | ||
import { WRAP_ATTRIBUTES_PATTERN, WRAP_ATTRIBUTES_THRESHOLD } from './wrap-attributes'; | ||
@@ -70,5 +71,7 @@ | ||
pugWrapAttributesPattern: string; | ||
pugSingleFileComponentIndentation: boolean; | ||
} | ||
export const options: any = { | ||
export const options: SupportOptions = { | ||
pugPrintWidth: PUG_PRINT_WIDTH_OPTION, | ||
@@ -91,3 +94,4 @@ pugSingleQuote: PUG_SINGLE_QUOTE_OPTION, | ||
pugWrapAttributesThreshold: WRAP_ATTRIBUTES_THRESHOLD, | ||
pugWrapAttributesPattern: WRAP_ATTRIBUTES_PATTERN | ||
pugWrapAttributesPattern: WRAP_ATTRIBUTES_PATTERN, | ||
pugSingleFileComponentIndentation: PUG_SINGLE_FILE_COMPONENT_INDENTATION | ||
}; |
@@ -1,5 +0,5 @@ | ||
/* eslint-disable @typescript-eslint/typedef */ | ||
import { IntSupportOption, PathSupportOption } from 'prettier'; | ||
import { CATEGORY_PUG } from '.'; | ||
export const WRAP_ATTRIBUTES_THRESHOLD = { | ||
export const WRAP_ATTRIBUTES_THRESHOLD: IntSupportOption = { | ||
since: '1.8.0', | ||
@@ -13,8 +13,8 @@ category: CATEGORY_PUG, | ||
export const WRAP_ATTRIBUTES_PATTERN = { | ||
export const WRAP_ATTRIBUTES_PATTERN: PathSupportOption = { | ||
since: '1.8.0', | ||
category: CATEGORY_PUG, | ||
type: 'string', | ||
type: 'path', | ||
default: '', | ||
description: 'Regex pattern to match attributes against that should always trigger wrapping.' | ||
}; |
@@ -97,2 +97,3 @@ import { format, RequiredOptions } from 'prettier'; | ||
readonly pugWrapAttributesPattern: string; | ||
readonly pugSingleFileComponentIndentation: boolean; | ||
} | ||
@@ -106,3 +107,3 @@ | ||
*/ | ||
// Start at -1, because `getNextToken()` increases it before retreval | ||
// Start at -1, because `getNextToken()` increases it before retrieval | ||
private currentIndex: number = -1; | ||
@@ -144,10 +145,18 @@ private currentLineLength: number = 0; | ||
this.indentString = options.pugUseTabs ? '\t' : ' '.repeat(options.pugTabWidth); | ||
if (options.pugSingleFileComponentIndentation) { | ||
this.indentLevel++; | ||
} | ||
this.quotes = this.options.pugSingleQuote ? "'" : '"'; | ||
this.otherQuotes = this.options.pugSingleQuote ? '"' : "'"; | ||
const attributeSeparator: AttributeSeparator = resolveAttributeSeparatorOption(options.attributeSeparator); | ||
this.alwaysUseAttributeSeparator = attributeSeparator === 'always'; | ||
this.neverUseAttributeSeparator = attributeSeparator === 'none'; | ||
this.closingBracketRemainsAtNewLine = resolveClosingBracketPositionOption(options.closingBracketPosition); | ||
const wrapAttributesPattern: string = options.pugWrapAttributesPattern; | ||
this.wrapAttributesPattern = wrapAttributesPattern ? new RegExp(wrapAttributesPattern) : null; | ||
const codeSingleQuote: boolean = !options.pugSingleQuote; | ||
@@ -226,3 +235,3 @@ this.codeInterpolationOptions = { | ||
} | ||
return ''; | ||
return this.options.pugSingleFileComponentIndentation ? this.indentString : ''; | ||
} | ||
@@ -293,3 +302,3 @@ | ||
val = val.slice(1, -1); | ||
val = format(val, { parser: parser as any, ...this.codeInterpolationOptions }); | ||
val = format(val, { parser, ...this.codeInterpolationOptions }); | ||
val = unwrapLineFeeds(val); | ||
@@ -333,6 +342,3 @@ return this.quoteString(val); | ||
} else { | ||
code = format(code, { | ||
parser: '__ng_interpolation' as any, | ||
...this.codeInterpolationOptions | ||
}); | ||
code = format(code, { parser: '__ng_interpolation', ...this.codeInterpolationOptions }); | ||
} | ||
@@ -393,3 +399,3 @@ } catch (error: unknown) { | ||
val = val.slice(1, -1); // Remove quotes | ||
val = format(val, { parser: '__vue_event_binding' as any, ...this.codeInterpolationOptions }); | ||
val = format(val, { parser: '__vue_event_binding', ...this.codeInterpolationOptions }); | ||
val = unwrapLineFeeds(val); | ||
@@ -428,6 +434,3 @@ if (val[val.length - 1] === ';') { | ||
} else { | ||
val = format(val, { | ||
parser: '__ng_interpolation' as any, | ||
...this.codeInterpolationOptions | ||
}); | ||
val = format(val, { parser: '__ng_interpolation', ...this.codeInterpolationOptions }); | ||
val = unwrapLineFeeds(val); | ||
@@ -474,4 +477,4 @@ } | ||
let tempIndex: number = this.currentIndex + 1; | ||
// In pug, tags can have two kind of attributes: normal attributes that appear between parantheses, | ||
// and literals for ids and classes, prefixing the paranthesis, e.g.: `#id.class(attribute="value")` | ||
// In pug, tags can have two kind of attributes: normal attributes that appear between parentheses, | ||
// and literals for ids and classes, prefixing the parentheses, e.g.: `#id.class(attribute="value")` | ||
// https://pugjs.org/language/attributes.html#class-literal | ||
@@ -505,3 +508,3 @@ // https://pugjs.org/language/attributes.html#id-literal | ||
if (numNormalAttributes > 0) { | ||
// This isn't the first normal attribute that will appear between parantheses, | ||
// This isn't the first normal attribute that will appear between parentheses, | ||
// add space and separator | ||
@@ -536,3 +539,3 @@ this.currentLineLength += 1; | ||
if (numNormalAttributes > 0) { | ||
// Add leading and trailing parantheses | ||
// Add leading and trailing parentheses | ||
this.currentLineLength += 2; | ||
@@ -682,6 +685,3 @@ } | ||
} else if (token.mustEscape) { | ||
val = format(val, { | ||
parser: '__js_expression' as any, | ||
...this.codeInterpolationOptions | ||
}); | ||
val = format(val, { parser: '__js_expression', ...this.codeInterpolationOptions }); | ||
@@ -799,3 +799,3 @@ const lines: string[] = val.split('\n'); | ||
// See if this is a `//- prettier-ignore` comment, which would indicate that the part of the template | ||
// that follows should be left unformatted. Support the same format as typescript-eslint is using for descriptons: | ||
// that follows should be left unformatted. Support the same format as typescript-eslint is using for descriptions: | ||
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md#allow-with-description | ||
@@ -912,3 +912,3 @@ if (/^ prettier-ignore($|[: ])/.test(commentToken.val)) { | ||
case 'outdent': | ||
result += this.indentString; | ||
result += this.computedIndent; | ||
if (/^ .+$/.test(val)) { | ||
@@ -915,0 +915,0 @@ result += '|\n'; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252613
40
4231
328