Skip to content

Commit

Permalink
move ts linting to root
Browse files Browse the repository at this point in the history
  • Loading branch information
frolic committed Feb 19, 2022
1 parent 0cc4556 commit 5d50ab8
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 93 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"extends": ["prettier"],
"plugins": ["prettier", "simple-import-sort", "import"],
"parser": "@typescript-eslint/parser",
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"plugins": ["@typescript-eslint", "prettier", "simple-import-sort", "import"],
"env": {
"browser": true,
"node": true
},
"rules": {
"prettier/prettier": "error",
"simple-import-sort/imports": "error",
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"prettier": "^2.5.1"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"typescript": "^4.5.5"
}
}
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"autoprefixer": "^10.4.0",
"postcss": "^8.4.5",
"tailwindcss": "^3.0.5",
"typescript": "4.5.4"
"typescript": "4.5.5"
}
}
9 changes: 0 additions & 9 deletions packages/contracts/.eslintrc.json

This file was deleted.

4 changes: 1 addition & 3 deletions packages/contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"chai": "^4.3.4",
"dotenv": "^10.0.0",
"eslint": "^8.4.1",
Expand All @@ -38,6 +36,6 @@
"hardhat-gas-reporter": "^1.0.6",
"ts-node": "^10.4.0",
"typechain": "^6.0.5",
"typescript": "^4.5.3"
"typescript": "^4.5.5"
}
}
2 changes: 2 additions & 0 deletions packages/contracts/scripts/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import "@nomiclabs/hardhat-ethers";

import { ContractFactory } from "ethers";
import fs from "fs/promises";
import hre, { ethers, network } from "hardhat";
Expand Down
9 changes: 0 additions & 9 deletions packages/subgraph/.eslintrc.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@
"dependencies": {
"@graphprotocol/graph-cli": "0.25.1",
"@graphprotocol/graph-ts": "0.24.1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"typescript": "^4.5.4"
}
}
Loading

0 comments on commit 5d50ab8

Please sign in to comment.