-
-
Notifications
You must be signed in to change notification settings - Fork 501
Description
Preflight Checklist
- I have read the troubleshooting guide
- I have searched existing issues and this is not a duplicate
- This is a bug with the VS Code extension, not with how Prettier formats code
Issue Summary
With my prettier config, there is a minor bug in formatOnSave. When I save the first time after making changes, it applies my prettier config correctly. If I save again without making changes, it adds semicolons to some import lines. If I save again and again, it toggles between correct and some semi colons in the imports. This did not happen with the legacy prettier extension.
My .vscode/settings.json (tested with and without "commented" line)
{
"[typescriptreact]": {
"editor.defaultFormatter": "prettier.prettier-vscode"
},
"editor.formatOnSave": true,
// "prettier.configPath": ".prettierrc"
}
My .prettierrc
{
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
The settings.json and prettierrc are longer in my repo but I temporarily replaced them with these small versions to narrow down the issue.
Reproduction Repository
https://github.com/optimalcharb/pdf-entity-labeling
Steps to Reproduce
- Clone repo
- Open any JS/TS/TSX file with imports
- Save multiple times in a row
- (optional) replace my longer settings.json and prettierrc with the condensed versions I posted in the issue
Expected Behavior
I expected pressing Crtl+S repeatedly to not change anything.
Actual Behavior
When I press Crtl+S multiple times in a row, it toggles between some semicolons on imports and no semicolons.
Operating System
Windows
VS Code Version
1.106.3
Prettier Extension Version
12.0.7
Prettier Version
3.7.4
Prettier Extension Logs
["INFO" - 8:32:16 PM] Extension Name: prettier.prettier-vscode.
["INFO" - 8:32:16 PM] Extension Version: 12.0.7.
["INFO" - 8:32:16 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:16 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:17 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:22 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:22 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:22 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:23 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:23 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:23 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:23 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:23 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:23 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:23 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:23 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:23 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:23 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:23 PM] Formatting completed in 125ms.
["INFO" - 8:32:23 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:23 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:23 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:23 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:23 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:23 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:23 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:24 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:24 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:24 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 863,
"rangeStart": 776,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:24 PM] Formatting completed in 92ms.
["INFO" - 8:32:24 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:24 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:24 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:24 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:24 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:24 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:24 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:24 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:24 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:24 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 4025,
"rangeStart": 3907,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:24 PM] Formatting completed in 63ms.
["INFO" - 8:32:24 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:24 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:24 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:24 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:24 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:24 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:24 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:24 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:24 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:24 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 4025,
"rangeStart": 776,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:24 PM] Formatting completed in 49ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 31ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 874,
"rangeStart": 787,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 30ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 4036,
"rangeStart": 3918,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 31ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 7118,
"rangeStart": 7117,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 38ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 27ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 7118,
"rangeStart": 3918,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 42ms.
["INFO" - 8:32:26 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:26 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:26 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:26 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:26 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:26 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:26 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:26 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:26 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:26 PM] Formatting completed in 33ms.
["INFO" - 8:32:27 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:27 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:27 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:27 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:27 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:27 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:27 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:27 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:27 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:27 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:27 PM] Formatting completed in 21ms.
["INFO" - 8:32:27 PM] Formatting file:///c%3A/Users/zchar/Desktop/pdf-ner/components/pdf-container/pdf-container.tsx
["INFO" - 8:32:27 PM] Using config file at c:\Users\zchar\Desktop\pdf-ner\.prettierrc
["INFO" - 8:32:27 PM] EditorConfig support is enabled, checking for .editorconfig files
["INFO" - 8:32:27 PM] Resolved config:
{
"plugins": [
"prettier-plugin-tailwindcss",
"@ianvs/prettier-plugin-sort-imports"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:27 PM] PrettierInstance:
{
"version": "3.6.2",
"prettierModule": {
"__debug": {},
"util": {},
"doc": {
"builders": {
"line": {
"type": "line"
},
"softline": {
"type": "line",
"soft": true
},
"hardline": [
{
"type": "line",
"hard": true
},
{
"type": "break-parent"
}
],
"literalline": [
{
"type": "line",
"hard": true,
"literal": true
},
{
"type": "break-parent"
}
],
"lineSuffixBoundary": {
"type": "line-suffix-boundary"
},
"cursor": {
"type": "cursor"
},
"breakParent": {
"type": "break-parent"
},
"trim": {
"type": "trim"
},
"hardlineWithoutBreakParent": {
"type": "line",
"hard": true
},
"literallineWithoutBreakParent": {
"type": "line",
"hard": true,
"literal": true
}
},
"printer": {},
"utils": {}
},
"version": "3.6.2"
},
"modulePath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\node_modules\\prettier"
}
["INFO" - 8:32:27 PM] Using ignore file (if present) at c:\Users\zchar\Desktop\pdf-ner\.prettierignore
["INFO" - 8:32:27 PM] Resolved plugins:
[
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
]
["INFO" - 8:32:27 PM] File Info:
{
"ignored": false,
"inferredParser": "typescript"
}
["INFO" - 8:32:27 PM] Using local configuration (VS Code configuration will not be used)
["INFO" - 8:32:27 PM] Prettier Options:
{
"filepath": "c:\\Users\\zchar\\Desktop\\pdf-ner\\components\\pdf-container\\pdf-container.tsx",
"parser": "typescript",
"rangeEnd": 863,
"rangeStart": 776,
"plugins": [
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/prettier-plugin-tailwindcss/dist/index.mjs",
"file:///c:/Users/zchar/Desktop/pdf-ner/node_modules/@ianvs/prettier-plugin-sort-imports/lib/src/index.js"
],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}
["INFO" - 8:32:27 PM] Formatting completed in 24ms.
Prettier Configuration
{
"plugins": ["prettier-plugin-tailwindcss", "@ianvs/prettier-plugin-sort-imports"],
"printWidth": 100,
"semi": false,
"importOrder": [
"^react$",
"^react-dom$",
"^next$",
"<THIRD_PARTY_MODULES>",
"^@/",
"^[../]",
"^[./]"
]
}