Skip to content

Commit

Permalink
Merge pull request #100 from penumbra-zone/json-penumbra-eslint-dep-u…
Browse files Browse the repository at this point in the history
…pdates

swapped JSON component + updated upstream deps, notably @penumbra-zone/types and getters. Added more eslint rules + husky.
  • Loading branch information
ejmg authored May 28, 2024
2 parents 0ba8100 + b144325 commit 554e05b
Show file tree
Hide file tree
Showing 14 changed files with 3,897 additions and 2,677 deletions.
18 changes: 9 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@
"es2021": true,
"node": true
},
"root": true,
"extends": [
"standard-with-typescript",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@next/next/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"],
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react"
],
"plugins": ["@stylistic", "@typescript-eslint", "react"],
"rules": {
"@typescript-eslint/comma-dangle": ["error", "always-multiline"],
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/semi": ["error", "always", { "omitLastInOneLineBlock": true, "omitLastInOneLineClassBody": true }],
"@stylistic/comma-dangle": ["error", "always-multiline"],
"@stylistic/quotes": ["error", "double"],
"@stylistic/semi": ["error", "always", { "omitLastInOneLineBlock": true, "omitLastInOneLineClassBody": true }],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/strict-boolean-expressions": ["error", { "allowNullableObject": true, "allowString": true }],
"react/react-in-jsx-scope": "off"
"@eslint-plugin-react/react-in-jsx-scope": "off"
},
"settings": {
"react": {
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run lint
4,582 changes: 2,872 additions & 1,710 deletions package-lock.json

Large diffs are not rendered by default.

33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"prepare": "husky"
},
"dependencies": {
"@buf/cometbft_cometbft.bufbuild_es": "^1.8.0-20240312114316-c0d3497e35d6.2",
"@buf/cosmos_ibc.bufbuild_es": "^1.8.0-20240215124455-b32ecf3ebbcb.2",
"@buf/penumbra-zone_penumbra.bufbuild_es": "^1.9.0-20240516191513-d29d4eb45a4b.1",
"@buf/cosmos_ibc.bufbuild_es": "^1.9.0-20240327103030-e2006674271c.1",
"@buf/penumbra-zone_penumbra.bufbuild_es": "^1.9.0-20240520205529-36b404d2dbac.1",
"@bufbuild/protobuf": "^1.4.2",
"@connectrpc/connect": "^1.1.3",
"@microlink/react-json-view": "^1.23.0",
"@penumbra-zone/getters": "^2.0.0",
"@penumbra-zone/types": "^2.0.0",
"@penumbra-zone/getters": "^4.0.0",
"@penumbra-zone/types": "^5.0.0",
"@prisma/client": "^5.4.1",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-slot": "^1.0.2",
Expand All @@ -31,29 +30,29 @@
"next": "13.5.4",
"react": "^18",
"react-dom": "^18",
"react-json-view-lite": "^1.4.0",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"usehooks-ts": "^2.9.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@next/eslint-plugin-next": "^13.5.4",
"@next/eslint-plugin-next": "^14.2.3",
"@stylistic/eslint-plugin": "^2.1.0",
"@types/eslint": "^8.56.10",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"autoprefixer": "^10",
"eslint": "^8.50.0",
"eslint-config-next": "13.5.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard-with-typescript": "^39.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.1",
"husky": "^9.0.11",
"postcss": "^8",
"prisma": "^5.4.1",
"tailwindcss": "^3",
"typescript": "^5.2.2"
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit 554e05b

Please sign in to comment.