Skip to content

Commit

Permalink
Merge pull request #6 from morpho-org/feat/viem
Browse files Browse the repository at this point in the history
feat(viem): add viem support
  • Loading branch information
Rubilmax authored Jul 16, 2024
2 parents a5ea9ba + 253fe3d commit b4cd982
Show file tree
Hide file tree
Showing 56 changed files with 9,683 additions and 1,847 deletions.
25 changes: 0 additions & 25 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ STAGED_TS_FILES=$(git diff --staged --name-only --diff-filter=d | grep '\.tsx\?$

if [ -n "$STAGED_TS_FILES" ]; then
# yarn eslint --fix $STAGED_TS_FILES
yarn prettier --write $STAGED_TS_FILES
yarn lint --write $STAGED_TS_FILES
git add $STAGED_TS_FILES
fi
92 changes: 0 additions & 92 deletions .prettierignore

This file was deleted.

15 changes: 0 additions & 15 deletions .prettierrc.cjs

This file was deleted.

27 changes: 0 additions & 27 deletions .yarn/sdks/eslint/bin/eslint.js

This file was deleted.

27 changes: 0 additions & 27 deletions .yarn/sdks/eslint/lib/api.js

This file was deleted.

27 changes: 0 additions & 27 deletions .yarn/sdks/eslint/lib/unsupported-api.js

This file was deleted.

14 changes: 0 additions & 14 deletions .yarn/sdks/eslint/package.json

This file was deleted.

27 changes: 0 additions & 27 deletions .yarn/sdks/prettier/bin/prettier.cjs

This file was deleted.

27 changes: 0 additions & 27 deletions .yarn/sdks/prettier/index.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarn/sdks/prettier/package.json

This file was deleted.

30 changes: 30 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": ["out", "lib", "dist", ".pnp.*", ".vscode"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"attributePosition": "auto"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"correctness": {
"noUnusedImports": "error",
"noUnusedVariables": "error"
},
"style": {
"useBlockStatements": "off"
}
}
}
}
16 changes: 3 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,19 @@
"node": ">=18"
},
"packageManager": "[email protected]",
"workspaces": [
"packages/*"
],
"workspaces": ["packages/*"],
"scripts": {
"postinstall": "husky install",
"lint": "eslint && prettier --check .",
"lint:fix": "eslint --fix && prettier -w .",
"lint": "biome check",
"publish": "lerna publish from-package"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@lerna-lite/cli": "3.5.1",
"@lerna-lite/publish": "3.5.1",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-address": "^0.0.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^4.2.0",
"eslint-plugin-unused-imports": "^3.2.0",
"husky": "^9.0.11",
"prettier": "^3.3.3",
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit b4cd982

Please sign in to comment.