Run prettier
This commit is contained in:
parent
56044c7851
commit
4c4c22a316
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "await is not supported inside pipeline expressions yet",
|
"throws": "await is not supported inside pipeline expressions yet",
|
||||||
"plugins": [
|
"plugins": [["proposal-pipeline-operator", { "proposal": "smart" }]]
|
||||||
["proposal-pipeline-operator", { "proposal": "smart" }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["proposal-pipeline-operator", { "proposal": "smart" }]]
|
||||||
["proposal-pipeline-operator", { "proposal": "smart" }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "yield is not supported inside pipeline expressions yet",
|
"throws": "yield is not supported inside pipeline expressions yet",
|
||||||
"plugins": [
|
"plugins": [["proposal-pipeline-operator", { "proposal": "smart" }]]
|
||||||
["proposal-pipeline-operator", { "proposal": "smart" }]
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [["transform-typescript", { "isTSX": true }]]
|
"plugins": [["transform-typescript", { "isTSX": true }]]
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,15 +54,15 @@ const byTestSuite = suite => browser => {
|
|||||||
: true;
|
: true;
|
||||||
};
|
};
|
||||||
|
|
||||||
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce(
|
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce((
|
||||||
(result, source) => {
|
result,
|
||||||
|
source
|
||||||
|
) => {
|
||||||
const data = require(`compat-table/data-${source}`);
|
const data = require(`compat-table/data-${source}`);
|
||||||
data.browsers = pickBy(envs, byTestSuite(source));
|
data.browsers = pickBy(envs, byTestSuite(source));
|
||||||
result.push(data);
|
result.push(data);
|
||||||
return result;
|
return result;
|
||||||
},
|
}, []);
|
||||||
[]
|
|
||||||
);
|
|
||||||
|
|
||||||
const interpolateAllResults = (rawBrowsers, tests) => {
|
const interpolateAllResults = (rawBrowsers, tests) => {
|
||||||
const interpolateResults = res => {
|
const interpolateResults = res => {
|
||||||
|
|||||||
@ -20,8 +20,12 @@ const getIssueLabelLink = l =>
|
|||||||
`https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22${encodeURIComponent(
|
`https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22${encodeURIComponent(
|
||||||
l
|
l
|
||||||
)}%22+is%3Aopen`;
|
)}%22+is%3Aopen`;
|
||||||
const getNpmInstall = name => `npm install ${packagesInstalledToDep.includes(name) ? "--save" : "--save-dev"} ${name}`;
|
const getNpmInstall = name =>
|
||||||
const getYarnAdd = name => `yarn add ${name} ${packagesInstalledToDep.includes(name) ? "" : "--dev"}`;
|
`npm install ${
|
||||||
|
packagesInstalledToDep.includes(name) ? "--save" : "--save-dev"
|
||||||
|
} ${name}`;
|
||||||
|
const getYarnAdd = name =>
|
||||||
|
`yarn add ${name} ${packagesInstalledToDep.includes(name) ? "" : "--dev"}`;
|
||||||
|
|
||||||
const labels = {
|
const labels = {
|
||||||
"babel-preset-flow": getIssueLabelLink("area: flow"),
|
"babel-preset-flow": getIssueLabelLink("area: flow"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user