-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
167 changed files
with
111 additions
and
19,984 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# See https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties | ||
# for all available properties. | ||
|
||
# Top-most EditorConfig file for the firebase-ios-sdk repo. | ||
root = true | ||
|
||
# Defaults for all files | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# ObjC and Swift files | ||
# See https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes#New-Features-in-Xcode-16-Beta | ||
# for the subset of properties supported by Xcode. | ||
[*.{h,m,mm,swift}] | ||
indent_style = space | ||
indent_size = 2 | ||
max_line_length = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: check | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
check: | ||
runs-on: macos-latest | ||
env: | ||
MINT_PATH: ${{ github.workspace }}/mint | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Cache Mint packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.MINT_PATH }} | ||
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | ||
restore-keys: ${{ runner.os }}-mint- | ||
|
||
- name: Setup Scripts Directory | ||
run: ./setup-scripts.sh | ||
|
||
- name: Setup check | ||
run: | | ||
brew update | ||
brew install clang-format@18 | ||
brew install mint | ||
mint bootstrap | ||
- name: Style | ||
run: scripts/style.sh test-only | ||
|
||
- name: Whitespace | ||
run: scripts/check_whitespace.sh | ||
|
||
- name: Filename spaces | ||
run: scripts/check_filename_spaces.sh | ||
|
||
- name: Copyrights | ||
run: scripts/check_copyright.sh | ||
|
||
- name: Imports | ||
run: scripts/check_imports.swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Formatting Options - Mimic Google style | ||
--indent 2 | ||
--maxwidth 100 | ||
--wrapparameters afterfirst | ||
|
||
# Disabled Rules | ||
|
||
# Too many of our swift files have simplistic examples. While technically | ||
# it's correct to remove the unused argument labels, it makes our examples | ||
# look wrong. | ||
--disable unusedArguments | ||
|
||
# We prefer trailing braces. | ||
--disable wrapMultilineStatementBraces |
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
.swiftpm/xcode/xcuserdata/aashishp.xcuserdatad/xcschemes/xcschememanagement.plist
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nicklockwood/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.