Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added linter
  • Loading branch information
ikethirdweb committed Oct 17, 2023
commit 173cba15aadc61ea7d4fcad367a735a95accdae9
4 changes: 4 additions & 0 deletions packages/react-native/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
module.exports = {
root: true,
extends: ["thirdweb"],
plugins: ["i18next"],
rules: {
"i18next/no-literal-string": 2,
},
settings: {
// https://github.com/facebook/react-native/issues/28549
"import/ignore": ["react-native"],
Expand Down
11 changes: 6 additions & 5 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.9.0",
"eslint-config-thirdweb": "workspace:*",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-inclusive-language": "^2.2.0",
"eslint-plugin-prettier": "^5.0.0",
Expand All @@ -82,15 +83,15 @@
"typescript": "^5.1.6"
},
"optionalDependencies": {
"amazon-cognito-identity-js": "^6.3.3",
"react-native-aes-gcm-crypto": "^0.2.2",
"react-native-camera": "^4.2.1",
"react-native-device-info": "10.6.0",
"react-native-safe-area-context": "4.5.3",
"react-native-webview": "12.1.0",
"amazon-cognito-identity-js": "^6.3.3",
"react-native-inappbrowser-reborn": "^3.7.0",
"react-native-quick-base64": "^2.0.7",
"react-native-quick-crypto": "^0.6.1",
"react-native-aes-gcm-crypto": "^0.2.2",
"react-native-inappbrowser-reborn": "^3.7.0"
"react-native-safe-area-context": "4.5.3",
"react-native-webview": "12.1.0"
},
"peerDependencies": {
"ethers": ">=5.5.1 <6",
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/src/evm/i18n/strings.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const strings = {};
18 changes: 17 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.