Skip to content

Commit

Permalink
remove
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jun 12, 2024
1 parent 424fc90 commit e0b5f48
Show file tree
Hide file tree
Showing 80 changed files with 93 additions and 240 deletions.
6 changes: 1 addition & 5 deletions eslint/babel-eslint-parser/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,7 @@ describe("Babel and Espree", () => {
babelOptions: {
filename: "test.js",
parserOpts: {
plugins: [
["estree", { classFeatures: true }],
"classPrivateProperties",
"classProperties",
],
plugins: [["estree", { classFeatures: true }]],
},
},
}).ast;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"plugins": ["flow", "classProperties"]
"plugins": ["flow"]
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "plugins": ["classProperties", "flow"] }
{ "plugins": ["flow"] }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "plugins": ["classPrivateProperties", "flow"] }
{ "plugins": ["flow"] }
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "plugins": ["jsx", "optionalChaining", "flow"] }
{ "plugins": ["jsx", "flow"] }

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sourceType": "module",
"plugins": ["typescript", "classProperties"]
"plugins": ["typescript"]
}
18 changes: 0 additions & 18 deletions packages/babel-parser/data/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,24 +170,16 @@
{
"enum": [
"asyncDoExpressions",
"asyncGenerators",
"bigInt",
"classPrivateMethods",
"classPrivateProperties",
"classProperties",
"classStaticBlock",
"decimal",
"decorators",
"decorators-legacy",
"decoratorAutoAccessors",
"deferredImportEvaluation",
"destructuringPrivate",
"doExpressions",
"dynamicImport",
"estree",
"explicitResourceManagement",
"exportDefaultFrom",
"exportNamespaceFrom",
"flow",
"flowComments",
"functionBind",
Expand All @@ -197,22 +189,12 @@
"importMeta",
"importReflection",
"jsx",
"logicalAssignment",
"moduleBlocks",
"moduleStringNames",
"nullishCoalescingOperator",
"numericSeparator",
"objectRestSpread",
"optionalCatchBinding",
"optionalChaining",
"partialApplication",
"pipelineOperator",
"placeholders",
"privateIn",
"regexpUnicodeSets",
"sourcePhaseImports",
"throwExpressions",
"topLevelAwait",
"typescript",
"v8intrinsic"
],
Expand Down
18 changes: 0 additions & 18 deletions packages/babel-parser/src/typings.d.ts
Original file line number Diff line number Diff line change
@@ -1,45 +1,27 @@
export type Plugin =
| "asyncDoExpressions"
| "asyncGenerators"
| "bigInt"
| "classPrivateMethods"
| "classPrivateProperties"
| "classProperties"
| "classStaticBlock" // Enabled by default
| "decimal"
| "decorators-legacy"
| "deferredImportEvaluation"
| "decoratorAutoAccessors"
| "destructuringPrivate"
| "doExpressions"
| "dynamicImport"
| "explicitResourceManagement"
| "exportDefaultFrom"
| "exportNamespaceFrom" // deprecated
| "flow"
| "flowComments"
| "functionBind"
| "functionSent"
| "importMeta"
| "jsx"
| "logicalAssignment"
| "importAssertions" // deprecated
| "importAttributes"
| "importReflection"
| "moduleBlocks"
| "moduleStringNames"
| "nullishCoalescingOperator"
| "numericSeparator"
| "objectRestSpread"
| "optionalCatchBinding"
| "optionalChaining"
| "partialApplication"
| "placeholders"
| "privateIn" // Enabled by default
| "regexpUnicodeSets" // Enabled by default
| "sourcePhaseImports"
| "throwExpressions"
| "topLevelAwait"
| "v8intrinsic"
| ParserPluginWithOptions[0];

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }],
"classPrivateProperties",
"classPrivateMethods"
]
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "^" }]]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }],
"doExpressions",
"asyncGenerators"
"doExpressions"
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }],
"doExpressions",
"asyncGenerators"
"doExpressions"
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "^" }],
"classPrivateProperties",
"classPrivateMethods"
]
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "^" }]]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }],
"classPrivateProperties",
"classPrivateMethods"
]
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }]]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }],
"doExpressions",
"asyncGenerators"
"doExpressions"
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }],
"doExpressions",
"asyncGenerators"
"doExpressions"
]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }],
"classPrivateProperties",
"classPrivateMethods"
]
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "@@" }]]
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"plugins": [
["pipelineOperator", { "proposal": "hack", "topicToken": "^^" }],
"classPrivateProperties",
"classPrivateMethods"
]
"plugins": [["pipelineOperator", { "proposal": "hack", "topicToken": "^^" }]]
}
Loading

0 comments on commit e0b5f48

Please sign in to comment.