Skip to content

Commit 469c3fc

Browse files
committed
Update config
1 parent 108bb2a commit 469c3fc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: .prettierrc.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"singleQuote": true,
33
"parenSpacing": true,
44
"trailingComma": "es5",
5-
"jsxBracketSameLine": false
5+
"jsxBracketSameLine": false,
6+
"arrowParens": "avoid"
67
}

Diff for: tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"allowUnusedLabels": false,
55
"declaration": true,
66
"forceConsistentCasingInFileNames": true,
7-
"lib": ["dom", "ESNext"],
7+
"lib": ["dom", "ESNext", "dom.iterable"],
88
"module": "esnext",
99
"noEmitOnError": true,
1010
"noFallthroughCasesInSwitch": true,
@@ -29,6 +29,7 @@
2929
"allowSyntheticDefaultImports":true,
3030
// Once we have WP types available we can remove following.
3131
"noImplicitAny": false,
32+
"resolveJsonModule": true,
3233
},
3334
"include": [
3435
"theme/assets/src/**/*",

0 commit comments

Comments
 (0)