-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove flow code * Format * Remove flowconfig * Remove flow from *ignore files * Remove flow from GitHub Actions * Remove flow from package.json * Oops * Disable flow checks in eslint * Format
- Loading branch information
1 parent
d60a6af
commit 8a076c5
Showing
12 changed files
with
6 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
build | ||
dist | ||
coverage | ||
flow-typed | ||
CHANGELOG.md | ||
node_modules | ||
cdn |
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 |
---|---|---|
@@ -1,8 +1,7 @@ | ||
/* @flow */ | ||
|
||
module.exports = { | ||
extends: "@krakenjs/eslint-config-grumbler/eslintrc-node", | ||
rules: { | ||
"const-immutable/no-mutation": "off", | ||
"flowtype/require-valid-file-annotation": 0, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -43,9 +43,6 @@ jspm_packages | |
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# Flow Typed | ||
flow-typed | ||
|
||
.idea | ||
|
||
.DS_Store |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
build | ||
dist | ||
coverage | ||
flow-typed | ||
CHANGELOG.md | ||
node_modules | ||
cdn |
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 |
---|---|---|
@@ -1,13 +1,7 @@ | ||
/* @flow */ | ||
/* eslint import/no-default-export: off */ | ||
|
||
import { setupSDK, type SetupComponent } from "@paypal/sdk-client/src"; | ||
import { setupSDK } from "@paypal/sdk-client/src"; | ||
|
||
export default ( | ||
namespace: string, | ||
verison: string, | ||
components: $ReadOnlyArray<SetupComponent<mixed>> | ||
// $FlowFixMe | ||
) => { | ||
export default (namespace, verison, components) => { | ||
return setupSDK(components); | ||
}; |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
/* @flow */ | ||
|
||
import pkg from "../package.json"; | ||
import pkgLock from "../package-lock.json"; | ||
|
||
|
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