Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Commit

Permalink
chore: prep for CI workflow
Browse files Browse the repository at this point in the history
ESLint: Add missing .eslintignore file, ignore `@typescript-eslint/no-explicit-any` errors in config, install eslint-plugin-prettier

Add package.json scripts for eslint and prettier
  • Loading branch information
drichar committed Dec 4, 2023
1 parent 74efa49 commit 12b4fe6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
.env
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"root": true,
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"]
"plugins": ["@typescript-eslint", "prettier"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
Binary file modified bun.lockb
Binary file not shown.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"build": "tsup",
"start": "bun run build -- --watch",
"test": "node --experimental-vm-modules node_modules/.bin/jest",
"types": "tsc --noEmit"
"lint": "eslint '**/*.{js,ts}'",
"prettier": "prettier --check '**/*.{js,ts}'",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -75,6 +77,7 @@
"@walletconnect/types": "^2.10.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "3.1.0",
"ts-jest": "^29.1.1",
Expand Down

0 comments on commit 12b4fe6

Please sign in to comment.