Format fixture JSON with Prettier. (#8658)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-react-jsx", {"pragma": "foo.bar"}]
|
||||
]
|
||||
}
|
||||
"plugins": [["transform-react-jsx", { "pragma": "foo.bar" }]]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-react-constant-elements", "transform-classes", "syntax-jsx"]
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-react-constant-elements",
|
||||
"transform-classes",
|
||||
"syntax-jsx"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "syntax-jsx", "transform-react-jsx", "transform-react-display-name", "transform-arrow-functions"]
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"syntax-jsx",
|
||||
"transform-react-jsx",
|
||||
"transform-react-display-name",
|
||||
"transform-arrow-functions"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"throws": "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning."
|
||||
"throws":
|
||||
"Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning."
|
||||
}
|
||||
|
||||
@@ -8,5 +8,6 @@
|
||||
}
|
||||
]
|
||||
],
|
||||
"throws": "Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning."
|
||||
"throws":
|
||||
"Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning."
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"throws": "transform-react-jsx: pragma has been set but pragmafrag has not been set"
|
||||
"throws":
|
||||
"transform-react-jsx: pragma has been set but pragmafrag has not been set"
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"plugins": [["transform-react-jsx", { "useBuiltIns": "invalidOption" }]],
|
||||
"throws": "transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)"
|
||||
"throws":
|
||||
"transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user