Format fixture JSON with Prettier. (#8658)

This commit is contained in:
Logan Smyth
2018-09-09 17:57:52 -07:00
committed by GitHub
parent 45c28fa785
commit 79b2af5997
1075 changed files with 2632 additions and 1872 deletions

View File

@@ -1,5 +1,3 @@
{
"plugins": [
["transform-react-jsx", {"pragma": "foo.bar"}]
]
}
"plugins": [["transform-react-jsx", { "pragma": "foo.bar" }]]
}

View File

@@ -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"
]
}

View File

@@ -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"
]
}

View File

@@ -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."
}

View File

@@ -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."
}

View File

@@ -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"
}

View File

@@ -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)"
}