Skip to content

Commit 32b450a

Browse files
committed
update deps, linting
1 parent 563abe8 commit 32b450a

File tree

8 files changed

+1281
-627
lines changed

8 files changed

+1281
-627
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
2-
extends: ['@flexn/eslint-config'],
2+
extends: ['@flexn/eslint-config', 'prettier'],
33
settings: {
44
'import/core-modules': ['@flexn/eslint-config'],
55
},
6-
};
6+
};

.prettierignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
lib
2+
dist
3+
node_modules
4+
.expo
5+
.next
6+
.vscode
7+
8+
appConfigs
9+
platformBuilds
10+
platformAssets
11+
renative.local.json
12+
renative.private.json
13+
renative.build.json
14+
renative.runtime.json
15+
rnv-config.local.json
16+
metro.config.local.js
17+
18+
coverage
19+
build
20+
21+
.vercel

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
...require('@flexn/prettier-config'),
3+
};

.prettierrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/static/img/logo128.png

84 Bytes
Loading

package.json

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,39 +83,46 @@
8383
"release-alpha": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package --dist-tag alpha --yes && yarn gitTag",
8484
"release-feat": "lerna version --force-publish --no-git-tag-version --no-push && yarn update-versions && yarn gitCommit && lerna publish from-package --dist-tag feat --yes && yarn gitTag",
8585
"release-dry": "lerna version --force-publish --no-git-tag-version --no-push && npx rnv hooks run -x updateVersions",
86-
"deploy-packages": "npm run deploy-all && npx lerna publish from-package --yes && git push origin HEAD"
86+
"deploy-packages": "npm run deploy-all && npx lerna publish from-package --yes && git push origin HEAD",
87+
"prettier-write-all": "npx prettier '**/*.{js,jsx,ts,tsx,mjs,cjs,json,md}' --write --config .prettierrc.js",
88+
"prettier-write-json": "npx prettier '**/{package.json,renative.plugins.json,renative.json}' --write --config .prettierrc.js"
8789
},
8890
"devDependencies": {
89-
"@flexn/eslint-config": "0.1.4",
91+
"@flexn/eslint-config": "0.1.5",
9092
"@flexn/prettier-config": "0.1.4",
91-
"@flexn/typescript": "0.1.4",
92-
"@types/jest": "^27.0.2",
93+
"@flexn/typescript": "0.2.4",
94+
"@types/jest": "27.0.2",
9395
"@types/lodash-es": "4.17.5",
9496
"@types/lodash.debounce": "^4.0.6",
95-
"@types/node": "^16.11.7",
97+
"@types/node": "16.11.7",
9698
"@types/react": "17.0.41",
9799
"@types/react-dom": "17.0.11",
98100
"@types/react-native": "0.67.2",
99-
"@typescript-eslint/eslint-plugin": "^5.4.0",
100-
"@typescript-eslint/parser": "^5.4.0",
101-
"concurrently": "7.0.0",
102-
"eslint": "^8.2.0",
103101
"google-drive-connect": "^1.1.2",
104102
"googleapis": "39",
105103
"husky": "4.2.5",
106104
"isomorphic-unfetch": "^3.1.0",
107-
"jest": "^27.3.1",
105+
"jest": "27.3.1",
108106
"lerna": "4.0.0",
109107
"lint-staged": "8.1.0",
110108
"rimraf": "^2.6.3",
111109
"rnv": "0.36.0-canary.13",
112110
"simple-git": "^2.46.0",
113111
"ts-jest": "^27.0.7",
114112
"tslib": "2.4.1",
115-
"typescript": "4.7.4"
113+
"typescript": "4.7.4",
114+
"prettier": "2.3.1",
115+
"eslint": "8.7.0",
116+
"eslint-config-prettier": "^8.5.0",
117+
"eslint-plugin-react": "^7.29.4",
118+
"eslint-plugin-react-hooks": "^4.3.0",
119+
"@typescript-eslint/eslint-plugin": "^5.22.0",
120+
"@typescript-eslint/parser": "^5.22.0"
116121
},
117122
"resolutions": {
118-
"resolve": "2.0.0-next.3"
123+
"resolve": "2.0.0-next.3",
124+
"@types/react": "17.0.41",
125+
"tslib": "2.4.0"
119126
},
120127
"husky": {
121128
"hooks": {
@@ -141,4 +148,4 @@
141148
"dependencies": {
142149
"@types/lodash.throttle": "^4.1.7"
143150
}
144-
}
151+
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)