Skip to content

Commit b1460cd

Browse files
committed
⬆️ Upgrade deps
1 parent 435a898 commit b1460cd

File tree

9 files changed

+14104
-14027
lines changed

9 files changed

+14104
-14027
lines changed
File renamed without changes.

.github/workflows/ci.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint:
7+
name: CI
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: "16"
14+
- run: npm i
15+
- run: npm run lint
Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,9 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
154
push:
165
branches: [ main ]
176
pull_request:
18-
# The branches below must be a subset of the branches above
197
branches: [ main ]
208
schedule:
219
- cron: '22 7 * * 5'
@@ -33,39 +21,18 @@ jobs:
3321
fail-fast: false
3422
matrix:
3523
language: [ 'javascript' ]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37-
# Learn more:
38-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3924

4025
steps:
4126
- name: Checkout repository
4227
uses: actions/checkout@v2
4328

44-
# Initializes the CodeQL tools for scanning.
4529
- name: Initialize CodeQL
4630
uses: github/codeql-action/init@v1
4731
with:
4832
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5333

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
5634
- name: Autobuild
5735
uses: github/codeql-action/autobuild@v1
5836

59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://git.io/JvXDl
61-
62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
65-
66-
#- run: |
67-
# make bootstrap
68-
# make release
69-
7037
- name: Perform CodeQL Analysis
7138
uses: github/codeql-action/analyze@v1

App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { StyleSheet, Text, View, TouchableHighlight } from 'react-native'
44
function randomColorHex() {
55
const letters = '0123456789ABCDEF'
66
let color = '#'
7+
// eslint-disable-next-line no-plusplus
78
for (let i = 0; i < 6; i++) {
89
color += letters[Math.floor(Math.random() * 16)]
910
}

babel.config.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function defaultExport(api) {
2+
api.cache(true)
3+
return {
4+
presets: ['babel-preset-expo'],
5+
}
6+
}

babel.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,34 @@
55
"android": "expo start --android",
66
"ios": "expo start --ios",
77
"web": "expo start --web",
8-
"eject": "expo eject"
8+
"eject": "expo eject",
9+
"lint": "eslint ."
910
},
1011
"license": "MIT",
1112
"dependencies": {
12-
"expo": "~42.0.1",
13+
"expo": "~42.0.5",
1314
"expo-status-bar": "~1.0.4",
1415
"react": "16.13.1",
1516
"react-dom": "16.13.1",
1617
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
17-
"react-native-web": "~0.13.12"
18+
"react-native-web": "~0.13.18"
1819
},
1920
"devDependencies": {
20-
"@babel/core": "^7.9.0",
21+
"@babel/core": "^7.17.5",
2122
"eslint": "^7.32.0",
2223
"eslint-config-airbnb-base": "^14.2.1",
23-
"eslint-config-prettier": "^8.3.0",
24+
"eslint-config-prettier": "^8.4.0",
2425
"eslint-import-resolver-alias": "^1.1.2",
25-
"eslint-import-resolver-webpack": "^0.13.1",
26-
"eslint-plugin-import": "^2.24.2",
27-
"eslint-plugin-jsx-a11y": "^6.4.1",
26+
"eslint-import-resolver-webpack": "^0.13.2",
27+
"eslint-plugin-import": "^2.25.4",
28+
"eslint-plugin-jsx-a11y": "^6.5.1",
2829
"eslint-plugin-prettier": "^4.0.0",
29-
"eslint-plugin-react": "^7.25.1",
30-
"expo-cli": "^4.11.0",
31-
"nodemon": "^2.0.12",
32-
"prettier": "^2.3.2",
30+
"eslint-plugin-react": "^7.29.2",
31+
"expo-cli": "^4.13.0",
32+
"nodemon": "^2.0.15",
33+
"prettier": "^2.5.1",
3334
"prettier-eslint": "^13.0.0",
34-
"prettier-plugin-jsdoc": "^0.3.24"
35+
"prettier-plugin-jsdoc": "^0.3.30"
3536
},
3637
"private": false
3738
}

0 commit comments

Comments
 (0)