@prettier/plugin-pug
Advanced tools
Comparing version 1.19.3 to 1.20.0
{ | ||
"name": "@prettier/plugin-pug", | ||
"version": "1.19.3", | ||
"version": "1.20.0", | ||
"description": "Prettier Pug Plugin", | ||
@@ -8,3 +8,3 @@ "main": "dist/index.js", | ||
"clean": "rm -Rf coverage dist junit.xml pnpm-lock.yaml node_modules", | ||
"build": "tsc", | ||
"build": "tsc --project ./tsconfig.build.json", | ||
"docs:dev": "vitepress dev docs", | ||
@@ -47,2 +47,3 @@ "docs:build": "vitepress build docs", | ||
"src", | ||
"tsconfig.build.json", | ||
"tsconfig.json" | ||
@@ -56,14 +57,14 @@ ], | ||
"@types/prettier": "~2.4.4", | ||
"@typescript-eslint/eslint-plugin": "~5.15.0", | ||
"@typescript-eslint/parser": "~5.15.0", | ||
"@typescript-eslint/eslint-plugin": "~5.16.0", | ||
"@typescript-eslint/parser": "~5.16.0", | ||
"benchmark": "~2.1.4", | ||
"eslint": "~8.11.0", | ||
"eslint-config-prettier": "~8.5.0", | ||
"eslint-define-config": "~1.2.5", | ||
"eslint-define-config": "~1.3.0", | ||
"eslint-gitignore": "~0.1.0", | ||
"eslint-plugin-inclusive-language": "~2.2.0", | ||
"eslint-plugin-jsdoc": "~38.0.4", | ||
"eslint-plugin-jsdoc": "~38.0.6", | ||
"eslint-plugin-prettier": "~4.0.0", | ||
"eslint-plugin-spellcheck": "~0.0.19", | ||
"prettier": "2.5.1", | ||
"prettier": "2.6.0", | ||
"prettier-plugin-organize-imports": "~2.3.4", | ||
@@ -73,3 +74,3 @@ "typescript": "~4.6.2", | ||
"vitepress": "~0.22.3", | ||
"vitest": "~0.6.1" | ||
"vitest": "~0.7.7" | ||
}, | ||
@@ -76,0 +77,0 @@ "peerDependencies": { |
@@ -453,3 +453,9 @@ import type { BuiltInParserName, Options, RequiredOptions } from 'prettier'; | ||
private frameworkFormat(code: string): string { | ||
const options: Options = { ...this.codeInterpolationOptions }; | ||
const options: Options = { | ||
...this.codeInterpolationOptions, | ||
// we need to keep the original singleQuote option | ||
// see https://github.com/prettier/plugin-pug/issues/339 | ||
singleQuote: this.options.singleQuote, | ||
}; | ||
switch (this.framework) { | ||
@@ -456,0 +462,0 @@ case 'angular': |
@@ -5,15 +5,11 @@ { | ||
"module": "CommonJS", | ||
"inlineSourceMap": true, | ||
"lib": ["ES2018", "DOM"], | ||
"outDir": "dist", | ||
"moduleResolution": "Node", | ||
"rootDir": "src", | ||
"rootDir": ".", | ||
"strict": true, | ||
"noImplicitOverride": true, | ||
"noUncheckedIndexedAccess": true, | ||
"removeComments": true, | ||
"esModuleInterop": true | ||
"noEmit": true, | ||
"esModuleInterop": true, | ||
"baseUrl": "./" | ||
}, | ||
"include": ["src/**/*"], | ||
"exclude": ["node_modules"] | ||
} |
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
330640
19293
56
6282