Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Commit 1b03b86

Browse files
committed
Add tsc, tslint and prettier config files
Signed-off-by: Sina Mahmoodi <itz.s1na@gmail.com>
1 parent fb864da commit 1b03b86

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
.vscode
3+
package.json
4+
dist
5+
.nyc_output
6+
test/testdata
7+
docs

prettier.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@ethereumjs/config-prettier')

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "@ethereumjs/config-tsc",
3+
"include": ["src/**/*.ts", "test/**/*.ts"]
4+
}

tsconfig.prod.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "@ethereumjs/config-tsc",
3+
"compilerOptions": {
4+
"outDir": "./dist"
5+
},
6+
"include": ["src/**/*.ts"]
7+
}

tslint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "@ethereumjs/config-tslint"
3+
}

0 commit comments

Comments
 (0)