-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
805c71f
commit 4476980
Showing
21 changed files
with
1,519 additions
and
846 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env sh | ||
# . "$(dirname -- "$0")/_/husky.sh" | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
# pnpm fix | ||
pnpm fix | ||
git add . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,69 @@ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"eslint:recommended", | ||
"turbo", | ||
"prettier", | ||
"plugin:import/typescript", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
parser: "@typescript-eslint/parser", | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"turbo", | ||
"prettier", | ||
"plugin:import/typescript", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
], | ||
plugins: [ | ||
"@typescript-eslint", | ||
"react", | ||
"react-hooks", | ||
"eslint-plugin-tsdoc", | ||
"import" | ||
], | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
node: true, | ||
}, | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
project: './tsconfig.json', | ||
}, | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
}, | ||
rules: { | ||
// eslint rules | ||
"curly": "error", | ||
"eqeqeq": "error", | ||
"no-implicit-coercion": ["error", { boolean: false }], | ||
"no-unused-expressions": "error", | ||
"no-useless-computed-key": "error", | ||
"no-console": "error", | ||
// Typescript rules | ||
"no-shadow": "off", | ||
"@typescript-eslint/no-shadow": "error", | ||
"@typescript-eslint/no-unused-vars": "error", | ||
'@typescript-eslint/no-unsafe-argument': 'off', // if you are experiencing false positives | ||
// import rules | ||
"import/newline-after-import": "error", | ||
"import/no-cycle": "error", | ||
"import/no-useless-path-segments": "error", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal"], | ||
"newlines-between": "always" | ||
} | ||
], | ||
plugins: ["@typescript-eslint", "eslint-plugin-tsdoc", "import"], | ||
rules: { | ||
// eslint | ||
"curly": "error", | ||
"eqeqeq": "error", | ||
"no-implicit-coercion": ["error", { boolean: false }], | ||
"no-unused-expressions": "error", | ||
"no-useless-computed-key": "error", | ||
"no-console": "error", | ||
|
||
// Typescript | ||
"no-shadow": "off", | ||
"@typescript-eslint/no-shadow": "error", | ||
"@typescript-eslint/no-unused-vars": "error", | ||
'@typescript-eslint/no-unsafe-argument': 'off', // causing a lot of IDE false positives. | ||
|
||
// import rules | ||
"import/newline-after-import": "error", | ||
"import/no-cycle": "error", | ||
"import/no-useless-path-segments": "error", | ||
"import/order": [ | ||
"error", | ||
{ | ||
"groups": ["builtin", "external", "internal"], | ||
"newlines-between": "always" | ||
} | ||
] | ||
} | ||
} | ||
// react rules | ||
'react/react-in-jsx-scope': 'off', // not needed for React 17+ | ||
'react/prop-types': 'off', // if using TypeScript for type checking | ||
// react-hooks rules | ||
'react-hooks/rules-of-hooks': 'error', // checks rules of Hooks | ||
'react-hooks/exhaustive-deps': 'warn', // checks effect dependencies | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule protocol-core
updated
100 files
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"AccessController": "0x31dd83a3FebB5fAD7F7bc8D4E05B623461B74a02", | ||
"AncestorsVaultLAP": "0x9Faa4E491a211bFa415d44554120B1b31b6f4e59", | ||
"ArbitrationPolicySP": "0x75e181d5eb307eCccf8d3b4724109eca14719A75", | ||
"DisputeModule": "0x11dAA3F573C4d6673BBE7f2D96B4C91073A0d55d", | ||
"Governance": "0xa18252Aa11Ff1B20b89C10109050CC46A4067b22", | ||
"IPAccountImpl": "0x7BBaB2BD68fd3990c8dA2c26334a6DF8Acc7E96E", | ||
"IPAccountRegistry": "0x7184bAdAdf24dc261C7C27BceFF53d7A25a06846", | ||
"IPAssetRegistry": "0xF59adB67B7CC87436A7CC41040A7dB24AE90aDB8", | ||
"IPAssetRenderer": "0x986d8E96b30b688FCD84e9A5A757C3d4304B47b6", | ||
"IPMetadataProvider": "0xfcD468A72F76e89F2Df517274063ef7210a32e2A", | ||
"IPResolver": "0xF0920314Fb4C375cdEB5b15c4e77277aCf36E3D7", | ||
"LicenseRegistry": "0x4D6a54B467332dF675cFa689cb294A4cB9122866", | ||
"LicensingModule": "0x0C72b24067a15994f91D92Fd9bA23eB5ebcF8378", | ||
"MetadataProviderV1": "0xfcD468A72F76e89F2Df517274063ef7210a32e2A", | ||
"MockERC20": "0xd53C2A80D24F6B3Ff009E48CF88D3b482E8E1457", | ||
"MockERC721": "0xD3719824a768c139AAa7C5eFc8BDb5D1d13A1564", | ||
"MockTokenGatedHook": "0x2d3ED4354eD09B0E6aa252938aEF41920aB6FC40", | ||
"ModuleRegistry": "0x17Ad1cD06d44ae5F5480A675A4D8BD8DAED40410", | ||
"PILPolicyFrameworkManager": "0x49cF5C5523011F8B4A0489969096Eb68C571C197", | ||
"RegistrationModule": "0x248c8CbF469ec7CB22Dc9914E569920b93d717a3", | ||
"RoyaltyModule": "0x512bbF310452cC96E0E9818B0870EcA557b86d4D", | ||
"RoyaltyPolicyLAP": "0x8404061350BA0CA85c4E733B0be78c5519679003", | ||
"TaggingModule": "0xED445f1DeE74Cf470Aab47F4b63734653C4C9537" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.