File tree Expand file tree Collapse file tree 14 files changed +235
-102
lines changed Expand file tree Collapse file tree 14 files changed +235
-102
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": ["@react-native-community"],
3+ "rules": {
4+ "no-console": "error"
5+ }
6+ }
Original file line number Diff line number Diff line change @@ -28,3 +28,6 @@ DerivedData
2828* .xcuserstate
2929local.properties
3030* .iml
31+
32+ # workspaces
33+ /packages /* /lib
Original file line number Diff line number Diff line change 1+ {
2+ "tabWidth": 2,
3+ "semi": true,
4+ "singleQuote": true,
5+ "bracketSpacing": true,
6+ "parser": "typescript"
7+ }
Original file line number Diff line number Diff line change 55 " packages/*"
66 ],
77 "packageManager" : " yarn@3.4.1" ,
8+ "devDependencies" : {
9+ "@react-native-community/eslint-config" : " 3.2.0" ,
10+ "eslint" : " 8.26.0" ,
11+ "prettier" : " 2.5.1" ,
12+ "typescript" : " 4.9.5"
13+ },
814 "resolutions" : {
915 "@react-native-community/cli" : " ^10.2.5" ,
1016 "@react-native-community/cli-platform-android" : " ^10.2.0" ,
Original file line number Diff line number Diff line change 1+ {
2+ "extends": "../../.eslintrc"
3+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @react-native-async-storage/core" ,
3+ "version" : " 0.0.0" ,
4+ "description" : " Core API of Async Storage" ,
5+ "source" : " src/index.ts" ,
6+ "react-native" : " src/index.ts" ,
7+ "types" : " lib/typescript/index.d.ts" ,
8+ "exports" : {
9+ "import" : " ./lib/module/index.js" ,
10+ "require" : " ./lib/commonjs/index.js"
11+ },
12+ "files" : [
13+ " src" ,
14+ " lib"
15+ ],
16+ "scripts" : {
17+ "prepack" : " yarn build" ,
18+ "build" : " bob build" ,
19+ "test:lint" : " eslint src/**" ,
20+ "test:ts" : " tsc --noEmit"
21+ },
22+ "keywords" : [
23+ " react-native" ,
24+ " async-storage" ,
25+ " storage" ,
26+ " api" ,
27+ " core api"
28+ ],
29+ "repository" : " https://github.com/react-native-async-storage/async-storage/blob/main/packages/core" ,
30+ "author" : " Krzysztof Borowy <contact@kborowy.com>" ,
31+ "license" : " MIT" ,
32+ "devDependencies" : {
33+ "eslint" : " 8.26.0" ,
34+ "react-native-builder-bob" : " 0.20.0" ,
35+ "typescript" : " 4.9.5"
36+ },
37+ "react-native-builder-bob" : {
38+ "source" : " src" ,
39+ "output" : " lib" ,
40+ "targets" : [
41+ " commonjs" ,
42+ " module" ,
43+ " typescript"
44+ ]
45+ }
46+ }
Original file line number Diff line number Diff line change 1+ function double ( i : number ) {
2+ return i * i ;
3+ }
4+
5+ double ( 6 ) ;
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ../../tsconfig.base.json" ,
3+ "include" : [" ./src/**/*" ]
4+ }
Original file line number Diff line number Diff line change 1+ {
2+ "extends": [
3+ "../../.eslintrc",
4+ "plugin:wdio/recommended"
5+ ],
6+ "plugins": ["wdio"],
7+ "rules": {
8+ "dot-notation": "off"
9+ }
10+ }
Original file line number Diff line number Diff line change 7272 "devDependencies" : {
7373 "@babel/core" : " ^7.20.0" ,
7474 "@babel/preset-env" : " ^7.20.0" ,
75- "@react-native-community/eslint-config" : " ^3.0.0" ,
7675 "@semantic-release/changelog" : " ^6.0.0" ,
7776 "@semantic-release/git" : " ^10.0.0" ,
7877 "@types/lodash" : " ^4.14.184" ,
8786 "appium-uiautomator2-driver" : " ^2.26.2" ,
8887 "appium-xcuitest-driver" : " ^4.32.5" ,
8988 "concurrently" : " ^6.4.0" ,
90- "eslint" : " ^8.0 .0" ,
89+ "eslint" : " 8.26 .0" ,
9190 "eslint-plugin-wdio" : " ^8.8.7" ,
9291 "expo" : " ^48.0.0" ,
9392 "lodash" : " ^4.17.21" ,
94- "prettier" : " ^ 2.5.1" ,
93+ "prettier" : " 2.5.1" ,
9594 "react" : " 18.2.0" ,
9695 "react-dom" : " ^18.2.0" ,
9796 "react-native" : " ^0.71.0" ,
106105 "typescript" : " ^4.9.4" ,
107106 "webdriverio" : " ^8.11.2"
108107 },
109- "eslintConfig" : {
110- "root" : true ,
111- "plugins" : [
112- " wdio"
113- ],
114- "extends" : [
115- " @react-native-community" ,
116- " plugin:wdio/recommended"
117- ],
118- "rules" : {
119- "dot-notation" : " off"
120- }
121- },
122- "prettier" : {
123- "endOfLine" : " auto" ,
124- "singleQuote" : true ,
125- "overrides" : [
126- {
127- "files" : " *.md" ,
128- "options" : {
129- "proseWrap" : " always"
130- }
131- }
132- ]
133- },
134108 "react-native-builder-bob" : {
135109 "source" : " src" ,
136110 "output" : " lib" ,
You can’t perform that action at this time.
0 commit comments