mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
updated
This commit is contained in:
parent
5586d34c85
commit
5427e0e6dd
@ -1,10 +1,19 @@
|
||||
{
|
||||
"extends": "airbnb",
|
||||
"parser": "babel-eslint",
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:eslint-comments/recommended",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:jest/recommended"
|
||||
],
|
||||
"env": {
|
||||
"browser": true
|
||||
"browser": true,
|
||||
"jest": true,
|
||||
"react-native/react-native": true
|
||||
},
|
||||
"plugins": ["react"],
|
||||
"plugins": ["react", "react-native", "jsx-a11y", "import", "prettier", "jest", "eslint-comments"],
|
||||
"rules": {
|
||||
"react/jsx-filename-extension": [
|
||||
2,
|
||||
@ -12,6 +21,7 @@
|
||||
"extensions": [".js", ".jsx"]
|
||||
}
|
||||
],
|
||||
"max-len": ["error", 100],
|
||||
"react/forbid-prop-types": [0],
|
||||
"no-underscore-dangle": 0,
|
||||
"react/require-default-props": [0],
|
||||
|
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -0,0 +1,4 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"eslint.validate": ["javascript", "javascriptreact"]
|
||||
}
|
@ -5,15 +5,15 @@ GOOGLE_JSON_FILE=$APPCENTER_SOURCE_DIRECTORY/android/app/google-services.json
|
||||
|
||||
printf "%s\n\n" $APPCENTER_SOURCE_DIRECTORY
|
||||
|
||||
if [ -e "$GOOGLE_JSON_FILE" ]
|
||||
then
|
||||
if [ -e "$GOOGLE_JSON_FILE" ]
|
||||
then
|
||||
echo "Updating Google Json"
|
||||
echo "$GOOGLE_JSON" > $GOOGLE_JSON_FILE
|
||||
sed -i -e 's/\\"/'\"'/g' $GOOGLE_JSON_FILE
|
||||
|
||||
echo "File content:"
|
||||
cat $GOOGLE_JSON_FILE
|
||||
fi
|
||||
fi
|
||||
|
||||
printf "google-services json file:\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user