Skip to content

Commit 5aaf8d6

Browse files
author
Krzysztof Borowy
committed
unify storage setup
1 parent f2c1b06 commit 5aaf8d6

File tree

5 files changed

+18
-183
lines changed

5 files changed

+18
-183
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": [
3+
"../../.eslintrc",
4+
"plugin:wdio/recommended"
5+
],
6+
"plugins": ["wdio"],
7+
"rules": {
8+
"dot-notation": "off"
9+
}
10+
}

packages/default-storage-backend/package.json

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@
6969
"devDependencies": {
7070
"@babel/core": "^7.20.0",
7171
"@babel/preset-env": "^7.20.0",
72-
"@react-native-community/eslint-config": "^3.0.0",
7372
"@semantic-release/changelog": "^6.0.0",
7473
"@semantic-release/git": "^10.0.0",
7574
"@types/lodash": "^4.14.184",
@@ -84,11 +83,11 @@
8483
"appium-uiautomator2-driver": "^2.26.2",
8584
"appium-xcuitest-driver": "^4.32.5",
8685
"concurrently": "^6.4.0",
87-
"eslint": "^8.0.0",
86+
"eslint": "8.26.0",
8887
"eslint-plugin-wdio": "^8.8.7",
8988
"expo": "^48.0.0",
9089
"lodash": "^4.17.21",
91-
"prettier": "^2.5.1",
90+
"prettier": "2.4.1",
9291
"react": "18.2.0",
9392
"react-dom": "^18.2.0",
9493
"react-native": "^0.71.0",
@@ -103,31 +102,6 @@
103102
"typescript": "^4.9.4",
104103
"webdriverio": "^8.11.2"
105104
},
106-
"eslintConfig": {
107-
"root": true,
108-
"plugins": [
109-
"wdio"
110-
],
111-
"extends": [
112-
"@react-native-community",
113-
"plugin:wdio/recommended"
114-
],
115-
"rules": {
116-
"dot-notation": "off"
117-
}
118-
},
119-
"prettier": {
120-
"endOfLine": "auto",
121-
"singleQuote": true,
122-
"overrides": [
123-
{
124-
"files": "*.md",
125-
"options": {
126-
"proseWrap": "always"
127-
}
128-
}
129-
]
130-
},
131105
"react-native-builder-bob": {
132106
"source": "src",
133107
"output": "lib",

packages/default-storage-backend/src/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-console */
12
import type { ErrorLike } from './types';
23

34
export function checkValidArgs(keyValuePairs: unknown[], callback: unknown) {

packages/default-storage-backend/tsconfig.build.json

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
{
2+
"extends": "../../tsconfig.base.json",
23
"compilerOptions": {
3-
"noFallthroughCasesInSwitch": true,
4-
"noImplicitOverride": true,
5-
"noImplicitReturns": true,
6-
"noPropertyAccessFromIndexSignature": true,
7-
"noUnusedLocals": true,
8-
"noUnusedParameters": true,
9-
"strict": true,
10-
"moduleResolution": "Node",
11-
"resolveJsonModule": true,
12-
"allowJs": true,
13-
"checkJs": true,
14-
"allowSyntheticDefaultImports": true,
15-
"forceConsistentCasingInFileNames": true,
16-
"jsx": "react",
17-
"target": "ESNext",
18-
"skipLibCheck": true
4+
"rootDir": "./src"
195
},
206
"include": [
217
"src"

yarn.lock

Lines changed: 3 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -3954,23 +3954,6 @@ __metadata:
39543954
languageName: node
39553955
linkType: hard
39563956

3957-
"@eslint/eslintrc@npm:^1.3.0":
3958-
version: 1.3.0
3959-
resolution: "@eslint/eslintrc@npm:1.3.0"
3960-
dependencies:
3961-
ajv: ^6.12.4
3962-
debug: ^4.3.2
3963-
espree: ^9.3.2
3964-
globals: ^13.15.0
3965-
ignore: ^5.2.0
3966-
import-fresh: ^3.2.1
3967-
js-yaml: ^4.1.0
3968-
minimatch: ^3.1.2
3969-
strip-json-comments: ^3.1.1
3970-
checksum: a1e734ad31a8b5328dce9f479f185fd4fc83dd7f06c538e1fa457fd8226b89602a55cc6458cd52b29573b01cdfaf42331be8cfc1fec732570086b591f4ed6515
3971-
languageName: node
3972-
linkType: hard
3973-
39743957
"@eslint/eslintrc@npm:^1.3.3":
39753958
version: 1.4.1
39763959
resolution: "@eslint/eslintrc@npm:1.4.1"
@@ -4377,17 +4360,6 @@ __metadata:
43774360
languageName: node
43784361
linkType: hard
43794362

4380-
"@humanwhocodes/config-array@npm:^0.10.4":
4381-
version: 0.10.4
4382-
resolution: "@humanwhocodes/config-array@npm:0.10.4"
4383-
dependencies:
4384-
"@humanwhocodes/object-schema": ^1.2.1
4385-
debug: ^4.1.1
4386-
minimatch: ^3.0.4
4387-
checksum: d480e5d57e6d787565b6cff78e27c3d1b380692d4ffb0ada7d7f5957a56c9032f034da05a3e443065dbd0671ebf4d859036ced34e96b325bbc1badbae3c05300
4388-
languageName: node
4389-
linkType: hard
4390-
43914363
"@humanwhocodes/config-array@npm:^0.11.6":
43924364
version: 0.11.11
43934365
resolution: "@humanwhocodes/config-array@npm:0.11.11"
@@ -4399,13 +4371,6 @@ __metadata:
43994371
languageName: node
44004372
linkType: hard
44014373

4402-
"@humanwhocodes/gitignore-to-minimatch@npm:^1.0.2":
4403-
version: 1.0.2
4404-
resolution: "@humanwhocodes/gitignore-to-minimatch@npm:1.0.2"
4405-
checksum: aba5c40c9e3770ed73a558b0bfb53323842abfc2ce58c91d7e8b1073995598e6374456d38767be24ab6176915f0a8d8b23eaae5c85e2b488c0dccca6d795e2ad
4406-
languageName: node
4407-
linkType: hard
4408-
44094374
"@humanwhocodes/module-importer@npm:^1.0.1":
44104375
version: 1.0.1
44114376
resolution: "@humanwhocodes/module-importer@npm:1.0.1"
@@ -5151,7 +5116,6 @@ __metadata:
51515116
dependencies:
51525117
"@babel/core": ^7.20.0
51535118
"@babel/preset-env": ^7.20.0
5154-
"@react-native-community/eslint-config": ^3.0.0
51555119
"@semantic-release/changelog": ^6.0.0
51565120
"@semantic-release/git": ^10.0.0
51575121
"@types/lodash": ^4.14.184
@@ -5166,12 +5130,12 @@ __metadata:
51665130
appium-uiautomator2-driver: ^2.26.2
51675131
appium-xcuitest-driver: ^4.32.5
51685132
concurrently: ^6.4.0
5169-
eslint: ^8.0.0
5133+
eslint: 8.26.0
51705134
eslint-plugin-wdio: ^8.8.7
51715135
expo: ^48.0.0
51725136
lodash: ^4.17.21
51735137
merge-options: ^3.0.4
5174-
prettier: ^2.5.1
5138+
prettier: 2.4.1
51755139
react: 18.2.0
51765140
react-dom: ^18.2.0
51775141
react-native: ^0.71.0
@@ -5423,30 +5387,6 @@ __metadata:
54235387
languageName: node
54245388
linkType: hard
54255389

5426-
"@react-native-community/eslint-config@npm:^3.0.0":
5427-
version: 3.1.0
5428-
resolution: "@react-native-community/eslint-config@npm:3.1.0"
5429-
dependencies:
5430-
"@babel/core": ^7.14.0
5431-
"@babel/eslint-parser": ^7.18.2
5432-
"@react-native-community/eslint-plugin": ^1.1.0
5433-
"@typescript-eslint/eslint-plugin": ^5.30.5
5434-
"@typescript-eslint/parser": ^5.30.5
5435-
eslint-config-prettier: ^8.5.0
5436-
eslint-plugin-eslint-comments: ^3.2.0
5437-
eslint-plugin-ft-flow: ^2.0.1
5438-
eslint-plugin-jest: ^26.5.3
5439-
eslint-plugin-prettier: ^4.2.1
5440-
eslint-plugin-react: ^7.30.1
5441-
eslint-plugin-react-hooks: ^4.6.0
5442-
eslint-plugin-react-native: ^4.0.0
5443-
peerDependencies:
5444-
eslint: ">=8"
5445-
prettier: ">=2"
5446-
checksum: 789b4f20091d114d5e24c337e9004381f2639eafc05171311b57d81301e4f01965d45d99d7549c7369967f5381bcbd162bfa50c05834a01e27fd5509532e35d4
5447-
languageName: node
5448-
linkType: hard
5449-
54505390
"@react-native-community/eslint-plugin@npm:^1.1.0":
54515391
version: 1.1.0
54525392
resolution: "@react-native-community/eslint-plugin@npm:1.1.0"
@@ -7424,7 +7364,7 @@ __metadata:
74247364
languageName: node
74257365
linkType: hard
74267366

7427-
"acorn@npm:^8.5.0, acorn@npm:^8.8.0":
7367+
"acorn@npm:^8.5.0":
74287368
version: 8.8.2
74297369
resolution: "acorn@npm:8.8.2"
74307370
bin:
@@ -12021,66 +11961,6 @@ __metadata:
1202111961
languageName: node
1202211962
linkType: hard
1202311963

12024-
"eslint@npm:^8.0.0":
12025-
version: 8.22.0
12026-
resolution: "eslint@npm:8.22.0"
12027-
dependencies:
12028-
"@eslint/eslintrc": ^1.3.0
12029-
"@humanwhocodes/config-array": ^0.10.4
12030-
"@humanwhocodes/gitignore-to-minimatch": ^1.0.2
12031-
ajv: ^6.10.0
12032-
chalk: ^4.0.0
12033-
cross-spawn: ^7.0.2
12034-
debug: ^4.3.2
12035-
doctrine: ^3.0.0
12036-
escape-string-regexp: ^4.0.0
12037-
eslint-scope: ^7.1.1
12038-
eslint-utils: ^3.0.0
12039-
eslint-visitor-keys: ^3.3.0
12040-
espree: ^9.3.3
12041-
esquery: ^1.4.0
12042-
esutils: ^2.0.2
12043-
fast-deep-equal: ^3.1.3
12044-
file-entry-cache: ^6.0.1
12045-
find-up: ^5.0.0
12046-
functional-red-black-tree: ^1.0.1
12047-
glob-parent: ^6.0.1
12048-
globals: ^13.15.0
12049-
globby: ^11.1.0
12050-
grapheme-splitter: ^1.0.4
12051-
ignore: ^5.2.0
12052-
import-fresh: ^3.0.0
12053-
imurmurhash: ^0.1.4
12054-
is-glob: ^4.0.0
12055-
js-yaml: ^4.1.0
12056-
json-stable-stringify-without-jsonify: ^1.0.1
12057-
levn: ^0.4.1
12058-
lodash.merge: ^4.6.2
12059-
minimatch: ^3.1.2
12060-
natural-compare: ^1.4.0
12061-
optionator: ^0.9.1
12062-
regexpp: ^3.2.0
12063-
strip-ansi: ^6.0.1
12064-
strip-json-comments: ^3.1.0
12065-
text-table: ^0.2.0
12066-
v8-compile-cache: ^2.0.3
12067-
bin:
12068-
eslint: bin/eslint.js
12069-
checksum: 2d84a7a2207138cdb250759b047fdb05a57fede7f87b7a039d9370edba7f26e23a873a208becfd4b2c9e4b5499029f3fc3b9318da3290e693d25c39084119c80
12070-
languageName: node
12071-
linkType: hard
12072-
12073-
"espree@npm:^9.3.2, espree@npm:^9.3.3":
12074-
version: 9.3.3
12075-
resolution: "espree@npm:9.3.3"
12076-
dependencies:
12077-
acorn: ^8.8.0
12078-
acorn-jsx: ^5.3.2
12079-
eslint-visitor-keys: ^3.3.0
12080-
checksum: 33e8a36fc15d082e68672e322e22a53856b564d60aad8f291a667bfc21b2c900c42412d37dd3c7a0f18b9d0d8f8858dabe8776dbd4b4c2f72c5cf4d6afeabf65
12081-
languageName: node
12082-
linkType: hard
12083-
1208411964
"espree@npm:^9.4.0":
1208511965
version: 9.6.1
1208611966
resolution: "espree@npm:9.6.1"
@@ -20206,15 +20086,6 @@ __metadata:
2020620086
languageName: node
2020720087
linkType: hard
2020820088

20209-
"prettier@npm:^2.5.1":
20210-
version: 2.7.1
20211-
resolution: "prettier@npm:2.7.1"
20212-
bin:
20213-
prettier: bin-prettier.js
20214-
checksum: 55a4409182260866ab31284d929b3cb961e5fdb91fe0d2e099dac92eaecec890f36e524b4c19e6ceae839c99c6d7195817579cdffc8e2c80da0cb794463a748b
20215-
languageName: node
20216-
linkType: hard
20217-
2021820089
"pretty-bytes@npm:5.6.0":
2021920090
version: 5.6.0
2022020091
resolution: "pretty-bytes@npm:5.6.0"
@@ -24897,13 +24768,6 @@ __metadata:
2489724768
languageName: node
2489824769
linkType: hard
2489924770

24900-
"v8-compile-cache@npm:^2.0.3":
24901-
version: 2.3.0
24902-
resolution: "v8-compile-cache@npm:2.3.0"
24903-
checksum: adb0a271eaa2297f2f4c536acbfee872d0dd26ec2d76f66921aa7fc437319132773483344207bdbeee169225f4739016d8d2dbf0553913a52bb34da6d0334f8e
24904-
languageName: node
24905-
linkType: hard
24906-
2490724771
"valid-url@npm:~1.0.9":
2490824772
version: 1.0.9
2490924773
resolution: "valid-url@npm:1.0.9"

0 commit comments

Comments
 (0)