Skip to content

Commit

Permalink
Only keep assumptions used in the tests, everything else will be in o…
Browse files Browse the repository at this point in the history
…ther PRs
  • Loading branch information
nicolo-ribaudo committed Nov 27, 2020
1 parent 9aaf0da commit 0ba8512
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions packages/babel-core/src/config/validation/options.js
Expand Up @@ -332,25 +332,9 @@ type EnvPath = $ReadOnly<{
export type NestingPath = RootPath | OverridesPath | EnvPath;

export const assumptionsNames = new Set<string>([
"arrayLikeIsIterable",
"arrayIndexedIteration",
"copyReexports",
"ignoreFunctionLength",
"ignoreToPrimitiveHint",
"inheritsAsObjectCreate",
"iterableIsArray",
"mutableTemplateObject",
"newableArrowFunctions",
"noDocumentAll",
"objectRestNoSymbols",
"privateFieldsAsPublic",
"setClassMethods",
"setComputedProperties",
"setModuleMeta",
"setPublicClassFields",
"setSpreadProperties",
"skipForOfIterationClosing",
"superAsFunctionCall",
]);

function getSource(loc: NestingPath): OptionsSource {
Expand Down

0 comments on commit 0ba8512

Please sign in to comment.