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

Commit

Permalink
Add initial @ethereumjs/eslint-config setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Oct 22, 2020
1 parent 7d95394 commit 002e886
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: "@ethereumjs/eslint-config-defaults"
}
2 changes: 0 additions & 2 deletions .prettierrc

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"coverage": "nyc npm run coverage:test && nyc report --reporter=lcov",
"coverage:test": "tape -r ts-node/register 'test/!(integration)/**/*.ts' 'test/integration/**/*.ts'",
"docs:build": "typedoc --tsconfig tsconfig.prod.json",
"lint": "standard",
"lint:fix": "standard --fix",
"lint": "ethereumjs-config-lint",
"lint:fix": "ethereumjs-config-lint-fix",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "ts-node node_modules/tape/bin/tape 'test/!(integration)/**/*.ts'",
"test:integration": "ts-node node_modules/tape/bin/tape 'test/integration/**/*.ts'",
Expand Down Expand Up @@ -89,6 +89,7 @@
"@babel/plugin-transform-spread": "^7.10.1",
"@ethereumjs/config-nyc": "^1.1.1",
"@ethereumjs/config-typescript": "^2.0.0",
"@ethereumjs/eslint-config-defaults": "^2.0.0",
"@polkadot/ts": "^0.3.48",
"@types/node": "^14.11.5",
"@types/tape": "^4.13.0",
Expand All @@ -104,7 +105,6 @@
"nyc": "~13.3.0",
"pino": "^5.8.0",
"pino-pretty": "^2.2.2",
"standard": "~12.0.1",
"supertest": "^3.1.0",
"tape": "~4.10.1",
"tape-catch": "~1.0.6",
Expand Down
1 change: 1 addition & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('@ethereumjs/eslint-config-defaults/prettier.config.js')

0 comments on commit 002e886

Please sign in to comment.