Bump prettier (#9373)

This commit is contained in:
Brian Ng
2019-01-22 09:16:32 -06:00
committed by GitHub
parent f2af6c1170
commit f77c450cda
49 changed files with 71 additions and 75 deletions

View File

@@ -1,8 +1,4 @@
{
"presets": [
"flow"
],
"plugins": [
"proposal-class-properties"
]
"presets": ["flow"],
"plugins": ["proposal-class-properties"]
}

View File

@@ -1,8 +1,4 @@
{
"presets": [
"flow"
],
"plugins": [
"proposal-class-properties"
]
"presets": ["flow"],
"plugins": ["proposal-class-properties"]
}

View File

@@ -1,4 +1,4 @@
{
"sourceType": "module",
"throws": "Legacy octal literals are not allowed in strict mode (1:0)"
"sourceType": "module",
"throws": "Legacy octal literals are not allowed in strict mode (1:0)"
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Unexpected token, expected \";\" (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "'with' in strict mode (2:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Unexpected token, expected \";\" (1:14)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid left-hand side in object destructuring pattern (1:4)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Object pattern can't contain getter or setter (1:6)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid left-hand side in object destructuring pattern (1:24)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Unexpected token, expected \",\" (1:3)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid Unicode escape (1:12)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid regular expression flag (1:16)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid regular expression flag (1:18)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid regular expression flag (1:16)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid regular expression flag (1:17)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "setter must have exactly one formal parameter (1:3)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid Unicode escape (1:0)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid Unicode escape (1:0)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Invalid Unicode escape (1:0)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Unterminated string constant (1:0)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "enum is a reserved word (1:11)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
}
}

View File

@@ -1,4 +1,4 @@
{
"throws": "Unexpected digit after hash token (2:2)",
"plugins": [ "classPrivateProperties" ]
"plugins": ["classPrivateProperties"]
}

View File

@@ -1,6 +1,4 @@
{
"plugins": [
["pipelineOperator", { "proposal": "invalid" }]
],
"plugins": [["pipelineOperator", { "proposal": "invalid" }]],
"throws": "'pipelineOperator' requires 'proposal' option whose value should be one of: 'minimal', 'smart'"
}

View File

@@ -1,4 +1,8 @@
{
"plugins": [["pipelineOperator", { "proposal": "smart" }], "doExpressions", "asyncGenerators"],
"plugins": [
["pipelineOperator", { "proposal": "smart" }],
"doExpressions",
"asyncGenerators"
],
"throws": "Topic reference was used in a lexical context without topic binding (2:48)"
}

View File

@@ -1,3 +1,7 @@
{
"plugins": [["pipelineOperator", { "proposal": "smart" }], "doExpressions", "asyncGenerators"]
"plugins": [
["pipelineOperator", { "proposal": "smart" }],
"doExpressions",
"asyncGenerators"
]
}

View File

@@ -1,3 +1,3 @@
{
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:2)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:3)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:7)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:9)"
}
}

View File

@@ -1,3 +1,3 @@
{
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:13)"
}
}

View File

@@ -1,5 +1,3 @@
{
"plugins": [
"transform-modules-commonjs"
]
"plugins": ["transform-modules-commonjs"]
}

View File

@@ -54,15 +54,15 @@ const byTestSuite = suite => browser => {
: true;
};
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce(
(result, source) => {
const data = require(`compat-table/data-${source}`);
data.browsers = pickBy(envs, byTestSuite(source));
result.push(data);
return result;
},
[]
);
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce((
result,
source
) => {
const data = require(`compat-table/data-${source}`);
data.browsers = pickBy(envs, byTestSuite(source));
result.push(data);
return result;
}, []);
const interpolateAllResults = (rawBrowsers, tests) => {
const interpolateResults = res => {