This repository has been archived by the owner on Aug 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This originated as a new codebase, following the currently unreleased ssz rewrite ethereum/consensus-specs#696
- Loading branch information
1 parent
62408ba
commit 08a3299
Showing
36 changed files
with
6,262 additions
and
4,680 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
See | ||
https://github.com/babel/babel/issues/8652 | ||
https://github.com/babel/babel/pull/6027 | ||
Babel isn't currently configured by default to read .ts files and | ||
can only be configured to do so via cli or configuration below. | ||
|
||
This file is used by mocha to interpret test files using a properly | ||
configured babel. | ||
|
||
This can (probably) be removed in babel 8.x. | ||
*/ | ||
require('@babel/register')({ | ||
extensions: ['.ts'], | ||
}) |
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,10 @@ | ||
{ | ||
"presets": [ | ||
"@babel/env", | ||
"@babel/typescript" | ||
], | ||
"plugins": [ | ||
"@babel/proposal-class-properties", | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
} |
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,22 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": ["@typescript-eslint"], | ||
"extends": ["plugin:@typescript-eslint/recommended"], | ||
"rules": { | ||
"max-line-length": { | ||
"options": [180] | ||
}, | ||
"new-parens": "error", | ||
"no-caller": "error", | ||
"no-bitwise": "off", | ||
"@typescript-eslint/indent": ["error", 2], | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"no-conditional-assignment": true, | ||
"no-consecutive-blank-lines": false, | ||
"object-literal-sort-keys": false, | ||
"no-console": "warn" | ||
} | ||
} |
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,3 +1,5 @@ | ||
node_modules | ||
.vscode | ||
.idea/ | ||
.nyc_output/ | ||
coverage/ | ||
dist/ | ||
lib/ | ||
node_modules/ |
Oops, something went wrong.