-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Showing
2,677 changed files
with
224,449 additions
and
111,947 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,3 +1,16 @@ | ||
export MM_FOX_CODE="EXAMPLE_FOX_CODE" | ||
export MM_BRANCH_KEY_TEST= | ||
export MM_BRANCH_KEY_LIVE= | ||
export METAMASK_BUILD_TYPE= | ||
# Firebase | ||
export FCM_CONFIG_API_KEY= | ||
export FCM_CONFIG_AUTH_DOMAIN= | ||
export FCM_CONFIG_PROJECT_ID= | ||
export FCM_CONFIG_STORAGE_BUCKET= | ||
export FCM_CONFIG_MESSAGING_SENDER_ID= | ||
export FCM_CONFIG_APP_ID= | ||
export GOOGLE_SERVICES_B64_ANDROID= | ||
#Notifications Feature Announcements | ||
export FEATURES_ANNOUNCEMENTS_ACCESS_TOKEN= | ||
export FEATURES_ANNOUNCEMENTS_SPACE_ID= | ||
|
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
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,24 +1,29 @@ | ||
// eslint-disable-next-line import/no-commonjs | ||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
}, | ||
extends: [ | ||
// @react-native-community | ||
// - Depends on babel-eslint parser | ||
// - Migrated to @react-native/eslint-config after v3.2.0 | ||
'@react-native-community', | ||
'@react-native', | ||
'eslint:recommended', | ||
// '@metamask/eslint-config', // TODO: Enable when ready | ||
'plugin:import/warnings', | ||
'plugin:react/recommended', | ||
], | ||
plugins: ['@metamask/design-tokens'], | ||
plugins: ['@typescript-eslint', '@metamask/design-tokens'], | ||
overrides: [ | ||
{ | ||
files: ['*.{ts,tsx}'], | ||
extends: ['@metamask/eslint-config-typescript'], | ||
rules: { | ||
// TODO: re-enable | ||
'jsdoc/no-types': 'off', | ||
'react/display-name': 'off', | ||
'react/no-unused-prop-types': 'off', | ||
'react/prop-types': 'off', | ||
'react/self-closing-comp': 'off', | ||
// This change is included in `@metamask/[email protected] | ||
'@typescript-eslint/no-unused-vars': [ | ||
'error', | ||
|
@@ -30,6 +35,28 @@ module.exports = { | |
}, | ||
], | ||
'@typescript-eslint/no-explicit-any': 'error', | ||
// Under discussion | ||
'@typescript-eslint/no-duplicate-enum-values': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['*.js', '*.jsx'], | ||
parser: '@babel/eslint-parser', | ||
parserOptions: { | ||
requireConfigFile: false, | ||
babelOptions: { | ||
presets: ['@babel/preset-env'], | ||
}, | ||
}, | ||
rules: { | ||
// under discussion | ||
'no-unused-vars': 'off', | ||
'react/no-unstable-nested-components': [ | ||
'warn', | ||
{ | ||
allowAsProps: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
|
@@ -109,7 +136,7 @@ module.exports = { | |
'import/no-mutable-exports': 2, | ||
'import/no-namespace': 2, | ||
'import/no-nodejs-modules': 2, | ||
'import/prefer-default-export': 2, | ||
'import/prefer-default-export': 0, | ||
'no-alert': 2, | ||
'no-constant-condition': [ | ||
2, | ||
|
@@ -186,5 +213,5 @@ module.exports = { | |
radix: 0, | ||
}, | ||
|
||
ignorePatterns: ['wdio.conf.js'], | ||
ignorePatterns: ['wdio.conf.js', 'app/util/termsOfUse/termsOfUseContent.ts'], | ||
}; |
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
Validating CODEOWNERS rules …
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
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.