Skip to content

Commit 1958b8a

Browse files
authored
Merge branch 'googlemaps:main' into main
2 parents e3954f5 + 9848783 commit 1958b8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4496
-6705
lines changed

.eslintignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules/
2+
build/
3+
android/
4+
ios/
5+
lib/
6+
example/android
7+
example/ios

.eslintrc.js

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
/**
2+
* Copyright 2025 Google LLC
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
module.exports = {
18+
root: true,
19+
parser: '@typescript-eslint/parser',
20+
parserOptions: {
21+
ecmaVersion: 'latest',
22+
sourceType: 'module',
23+
ecmaFeatures: {
24+
jsx: true,
25+
},
26+
},
27+
env: {
28+
'es2021': true,
29+
'node': true,
30+
'react-native/react-native': true,
31+
},
32+
plugins: [
33+
'@typescript-eslint',
34+
'react',
35+
'react-hooks',
36+
'react-native',
37+
'import',
38+
'prettier',
39+
],
40+
extends: [
41+
'eslint:recommended',
42+
'plugin:@typescript-eslint/recommended',
43+
'plugin:react/recommended',
44+
'plugin:react-hooks/recommended',
45+
'plugin:react-native/all',
46+
'plugin:import/errors',
47+
'plugin:import/warnings',
48+
'plugin:import/typescript',
49+
'plugin:prettier/recommended',
50+
],
51+
rules: {
52+
'prettier/prettier': 'warn',
53+
'react/react-in-jsx-scope': 'off',
54+
'react-native/no-inline-styles': 'off',
55+
'react-native/sort-styles': 'off',
56+
'react-native/no-color-literals': 'off',
57+
'react-hooks/rules-of-hooks': 'error',
58+
'react-hooks/exhaustive-deps': 'warn',
59+
'@typescript-eslint/explicit-module-boundary-types': 'warn',
60+
'@typescript-eslint/no-explicit-any': 'error',
61+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }], // Allow unused vars starting with _
62+
'import/default': 'off', // Disable for now due to react-native-select-dropdown issues
63+
},
64+
settings: {
65+
'react': {
66+
version: 'detect',
67+
},
68+
'import/resolver': {
69+
typescript: {},
70+
},
71+
},
72+
overrides: [
73+
// Configuration files can use require()
74+
{
75+
files: ['**/*.config.js', '**/babel.config.js'],
76+
rules: {
77+
'@typescript-eslint/no-require-imports': 'off',
78+
},
79+
},
80+
// Test files
81+
{
82+
files: ['**/*.test.js', '**/*.test.ts', '**/e2e/**/*.js'],
83+
env: {
84+
jest: true,
85+
},
86+
rules: {
87+
'@typescript-eslint/explicit-module-boundary-types': 'off',
88+
},
89+
},
90+
// Example directory - less strict for demo code
91+
{
92+
files: ['example/**/*'],
93+
rules: {
94+
'@typescript-eslint/explicit-module-boundary-types': 'off',
95+
},
96+
},
97+
],
98+
};

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ jobs:
173173
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
174174
175175
build-ios:
176-
runs-on: macos-14
176+
runs-on:
177+
labels: macos-latest-xlarge
177178
timeout-minutes: 45
178179
env:
179180
TURBO_CACHE_DIR: .turbo/ios

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Keys.plist
3939
.idea
4040
.project
4141
.settings
42+
.kotlin
4243
local.properties
4344
android.iml
4445

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18
1+
v22

.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"arrowParens": "avoid",
3+
"quoteProps": "consistent",
4+
"singleQuote": true,
5+
"tabWidth": 2,
6+
"trailingComma": "es5",
7+
"useTabs": false
8+
}

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.10.0"
2+
".": "0.10.2"
33
}

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 18.20.1
1+
nodejs 22.14.0
Lines changed: 213 additions & 213 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
nodeLinker: node-modules
1615
nmHoistingLimits: workspaces
1716

17+
nodeLinker: node-modules
18+
1819
plugins:
1920
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
20-
spec: "@yarnpkg/plugin-interactive-tools"
21+
spec: '@yarnpkg/plugin-interactive-tools'
2122
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
22-
spec: "@yarnpkg/plugin-workspace-tools"
23+
spec: '@yarnpkg/plugin-workspace-tools'
2324

24-
yarnPath: .yarn/releases/yarn-3.6.1.cjs
25+
yarnPath: .yarn/releases/yarn-3.6.4.cjs

0 commit comments

Comments
 (0)