Skip to content

Commit

Permalink
Update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 15, 2023
1 parent 6b0691b commit 825844b
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 32 deletions.
11 changes: 0 additions & 11 deletions .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all",
"overrides": [
{
"files": "*.svg",
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head itemscope itemtype="http://schema.org/WebPage">
<!-- <link href="style.css" rel="stylesheet" /> -->
Expand Down
2 changes: 1 addition & 1 deletion example/cdn/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<style>
Expand Down
2 changes: 1 addition & 1 deletion example/webpack/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<style>
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-variables-loader": "6.0.0",
"prettier": "2.7.1",
"prettier": "3.0.1",
"raw-loader": "4.0.2",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
12 changes: 6 additions & 6 deletions src/graph/dot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export function getDot(
}
return `
"${node.name}":"${field.name}" -> "${
getNamedType(field.type).name
}" [
getNamedType(field.type).name
}" [
id = "${id} => ${typeObjToId(getNamedType(field.type))}"
label = "${node.name}:${field.name}"
]
Expand Down Expand Up @@ -97,8 +97,8 @@ export function getDot(
<<TABLE ALIGN="LEFT" BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="5">
<TR>
<TD CELLPADDING="4" ${htmlID}><FONT POINT-SIZE="18">${
node.name
}</FONT><BR/>${kindLabel}</TD>
node.name
}</FONT><BR/>${kindLabel}</TD>
</TR>
${nodeFields()}
${possibleTypes()}
Expand Down Expand Up @@ -129,8 +129,8 @@ export function getDot(
<TR>
<TD ALIGN="LEFT">${field.name}<FONT> </FONT></TD>
<TD ALIGN="RIGHT">${deprecatedIcon}${relayIcon}${parts[0]}${
namedType.name
}${parts[1]}</TD>
namedType.name
}${parts[1]}</TD>
</TR>
</TABLE>
</TD>
Expand Down
2 changes: 1 addition & 1 deletion tests/PageObjectModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const SchemaPresets = [
'GitHub',
] as const;
class PlaywrightChangeSchemaPresetsTab extends PlaywrightChangeSchemaBaseTab {
readonly presetButtons: { [name in typeof SchemaPresets[number]]: Locator };
readonly presetButtons: { [name in (typeof SchemaPresets)[number]]: Locator };

constructor(dialog: Locator) {
super(dialog, 'Presets');
Expand Down

0 comments on commit 825844b

Please sign in to comment.