-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set source type as module for
recommended
- Loading branch information
1 parent
d1ba930
commit adbe232
Showing
7 changed files
with
71 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": [ | ||
"plugin:bpmn-io/recommended" | ||
], | ||
"globals": { | ||
"Blub": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import { Bar } from './bar'; | ||
|
||
|
||
export class Foo extends Bar { | ||
|
||
constructor(a, b, { c }) { | ||
super(a, c); | ||
} | ||
|
||
foo(d) { | ||
|
||
const [ _, blub ] = Blub.blub(...d); | ||
|
||
const foop = "Hello 'BLUB'"; | ||
|
||
return { | ||
...this.bar, | ||
blub, | ||
foop, | ||
d | ||
}; | ||
} | ||
|
||
async other(a) { | ||
await this.b(); | ||
} | ||
|
||
longArgFn( | ||
hello, world, | ||
wowo, wooooooooorld) { | ||
|
||
const a = {}; | ||
|
||
const { | ||
c, | ||
d, | ||
...rest | ||
} = a; | ||
|
||
return rest; | ||
} | ||
|
||
async asyncIterator() { | ||
const stream = []; | ||
|
||
for await (const chunk of stream) { | ||
test(chunk); | ||
} | ||
} | ||
|
||
} | ||
|
||
function test() {} |