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