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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
49 changed files with 71 additions and 75 deletions

View File

@ -55,7 +55,7 @@
"lodash": "^4.17.10",
"merge-stream": "^1.0.1",
"output-file-sync": "^2.0.0",
"prettier": "^1.15.2",
"prettier": "^1.16.0",
"pump": "^3.0.0",
"rimraf": "^2.4.3",
"rollup-plugin-babel": "^4.0.0-beta.0",

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 => {

View File

@ -8839,10 +8839,10 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"
prettier@^1.15.2:
version "1.15.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e"
integrity sha512-YgPLFFA0CdKL4Eg2IHtUSjzj/BWgszDHiNQAe0VAIBse34148whfdzLagRL+QiKS+YfK5ftB6X4v/MBw8yCoug==
prettier@^1.16.0:
version "1.16.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.0.tgz#104dd25f5ee3d0c9d0a6ce4bb40ced8481d51219"
integrity sha512-MCBCYeAuZfejUPdEpkleLWvpRBwLii/Sp5jQs0eb8Ul/drGIDjkL6tAU24tk6yCGf0KPV5rhPPPlczfBmN2pWQ==
pretty-format@^23.6.0:
version "23.6.0"