move all plugin tests out of babel-core and into their appropriate folders
This commit is contained in:
@@ -0,0 +1 @@
|
||||
(x, y, ) => {};
|
||||
@@ -0,0 +1 @@
|
||||
(x, y) => {};
|
||||
@@ -0,0 +1,4 @@
|
||||
Math.max(1,
|
||||
2,
|
||||
3,
|
||||
);
|
||||
@@ -0,0 +1 @@
|
||||
Math.max(1, 2, 3);
|
||||
@@ -0,0 +1,8 @@
|
||||
function thisIsAFunctionWithAVeryLongNameAndWayTooManyParameters(
|
||||
thisIsTheFirstParameter, andThisOneIsRelatedToIt,
|
||||
butNotThisOne,
|
||||
andNeitherThis,
|
||||
inFactThereArentThatManyParameters,
|
||||
) {
|
||||
throw null;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
function thisIsAFunctionWithAVeryLongNameAndWayTooManyParameters(thisIsTheFirstParameter, andThisOneIsRelatedToIt, butNotThisOne, andNeitherThis, inFactThereArentThatManyParameters) {
|
||||
throw null;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
new Foo(a, b,);
|
||||
@@ -0,0 +1 @@
|
||||
new Foo(a, b);
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"plugins": ["syntax-trailing-function-commas"]
|
||||
}
|
||||
Reference in New Issue
Block a user