diff --git a/packages/plugin-nft-collections/.eslintrc.json b/packages/plugin-nft-collections/.eslintrc.json new file mode 100644 index 00000000000..eb6b1760de8 --- /dev/null +++ b/packages/plugin-nft-collections/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "extends": "../../.eslintrc.json", + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint" + ], + "root": true +} \ No newline at end of file diff --git a/packages/plugin-nft-collections/.prettierrc b/packages/plugin-nft-collections/.prettierrc new file mode 100644 index 00000000000..3c4f9def446 --- /dev/null +++ b/packages/plugin-nft-collections/.prettierrc @@ -0,0 +1,7 @@ +{ + "tabWidth": 4, + "semi": true, + "singleQuote": false, + "trailingComma": "es5", + "printWidth": 80 +} diff --git a/packages/plugin-nft-collections/package.json b/packages/plugin-nft-collections/package.json index d36801e3f42..71da89023ea 100644 --- a/packages/plugin-nft-collections/package.json +++ b/packages/plugin-nft-collections/package.json @@ -6,14 +6,24 @@ "types": "dist/index.d.ts", "scripts": { "build": "tsc", - "test": "jest" + "test": "jest", + "lint": "eslint src --ext .ts", + "format": "prettier --write src/**/*.ts" }, "dependencies": { "@ai16z/eliza": "workspace:*", + "@ai16z/plugin-evm": "workspace:*", "axios": "^1.6.7" }, "devDependencies": { - "typescript": "^5.3.3", - "@types/node": "^20.11.16" + "@types/node": "^20.11.16", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", + "eslint": "^8.56.0", + "prettier": "^3.2.5", + "typescript": "^5.3.3" + }, + "peerDependencies": { + "@ai16z/eliza": "workspace:*" } }