mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore: run lint
This commit is contained in:
parent
c3a390f3fe
commit
765ffc88eb
3 changed files with 23 additions and 20 deletions
|
@ -5,11 +5,11 @@ import { format } from "prettier";
|
|||
import plugin from "prettier/plugins/typescript";
|
||||
|
||||
const formatTypeScript = async (value) => {
|
||||
return await format(value, {
|
||||
parser: "typescript",
|
||||
return await format(value, {
|
||||
parser: "typescript",
|
||||
plugins: [plugin],
|
||||
printWidth: 40, // Force breaking onto new lines
|
||||
bracketSameLine: false
|
||||
bracketSameLine: false,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue