Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit 002e886

Browse files
committed
Add initial @ethereumjs/eslint-config setup
1 parent 7d95394 commit 002e886

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: "@ethereumjs/eslint-config-defaults"
3+
}

.prettierrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"coverage": "nyc npm run coverage:test && nyc report --reporter=lcov",
2222
"coverage:test": "tape -r ts-node/register 'test/!(integration)/**/*.ts' 'test/integration/**/*.ts'",
2323
"docs:build": "typedoc --tsconfig tsconfig.prod.json",
24-
"lint": "standard",
25-
"lint:fix": "standard --fix",
24+
"lint": "ethereumjs-config-lint",
25+
"lint:fix": "ethereumjs-config-lint-fix",
2626
"test": "npm run test:unit && npm run test:integration",
2727
"test:unit": "ts-node node_modules/tape/bin/tape 'test/!(integration)/**/*.ts'",
2828
"test:integration": "ts-node node_modules/tape/bin/tape 'test/integration/**/*.ts'",
@@ -89,6 +89,7 @@
8989
"@babel/plugin-transform-spread": "^7.10.1",
9090
"@ethereumjs/config-nyc": "^1.1.1",
9191
"@ethereumjs/config-typescript": "^2.0.0",
92+
"@ethereumjs/eslint-config-defaults": "^2.0.0",
9293
"@polkadot/ts": "^0.3.48",
9394
"@types/node": "^14.11.5",
9495
"@types/tape": "^4.13.0",
@@ -104,7 +105,6 @@
104105
"nyc": "~13.3.0",
105106
"pino": "^5.8.0",
106107
"pino-pretty": "^2.2.2",
107-
"standard": "~12.0.1",
108108
"supertest": "^3.1.0",
109109
"tape": "~4.10.1",
110110
"tape-catch": "~1.0.6",

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/eslint-config-defaults/prettier.config.js')

0 commit comments

Comments
 (0)