forked from rime/squirrel
-
Notifications
You must be signed in to change notification settings - Fork 8
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
29 changed files
with
1,222 additions
and
757 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1 @@ | ||
# apply clang format | ||
ce94f9c4403b9c33d5e251fc7f1e15c44725d881 | ||
|
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,29 @@ | ||
--- | ||
name: Bug 報告 | ||
about: 我覺得這是個 Bug | ||
title: "[Bug] 我其實沒有遇到Bug" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**簡要描述 Bug:** | ||
~~我其實沒有遇到Bug~~ | ||
|
||
**預期行爲:** | ||
|
||
**實際行爲:** | ||
|
||
**環境** | ||
- 系統版本: (macOS 14.5) | ||
- 鼠鬚管版本: (1.0.0) | ||
- 方案: (如果你用的是自定義或第三方的方案,且該 Bug 可能與方案有關,請提供方案鏈接) | ||
- [ ] 使用了 Lua: (用了甚麼 Lua 腳本?) | ||
- [ ] 與其它 App 有關: (哪個 App?) | ||
|
||
**我試過:** | ||
- [ ] 我換了內置的方案(如`朙月拼音`)後問題仍存在 | ||
- [ ] 我找到了導致問題出現的具體設置: (何設置?) | ||
- [ ] 這是個新 Bug,以前真的沒有 | ||
- [ ] 我對原因有一些猜想: (你的寳貴想法) | ||
- [ ] 在 Issues(包括已關閉的 Issue) 中未找到相關的報告 |
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,29 @@ | ||
--- | ||
name: Bug report | ||
about: Is this a bug? | ||
title: "[Bug] What have I done?" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug:** | ||
~~Actually it's not a bug after all | ||
|
||
**Expected behavior:** | ||
|
||
**Actual behavior:** | ||
|
||
**Environment** | ||
- OS version: (macOS 14.5) | ||
- Squirrel version: (1.0.0) | ||
- Schema: (If you are using a custom schema, and think it might be related to the schema, please provide a link) | ||
- [ ] Using Lua: (what Lua script do you use?) | ||
- [ ] Related to other apps: (which app?) | ||
|
||
**Things you've tried** | ||
- [ ] I tried a built-in schema (like `luna pinyin`), but the bug persists | ||
- [ ] I found the exact setting that produced this bug: (which one?) | ||
- [ ] This bug is new in this version | ||
- [ ] I think the cause might be: (your thoughts) | ||
- [ ] I don't find a similar report in Issues (including closed Issues) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
project: Squirrel.xcodeproj | ||
schemes: | ||
- Squirrel | ||
targets: | ||
- Squirrel | ||
format: github-actions |
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,56 @@ | ||
# By default, SwiftLint uses a set of sensible default rules you can adjust: | ||
disabled_rules: # rule identifiers turned on by default to exclude from running | ||
- force_cast | ||
- force_try | ||
- todo | ||
opt_in_rules: # some rules are turned off by default, so you need to opt-in | ||
|
||
# Alternatively, specify all rules explicitly by uncommenting this option: | ||
# only_rules: # delete `disabled_rules` & `opt_in_rules` if using this | ||
# - empty_parameters | ||
# - vertical_whitespace | ||
|
||
analyzer_rules: # rules run by `swiftlint analyze` | ||
- explicit_self | ||
|
||
included: # case-sensitive paths to include during linting. `--path` is ignored if present | ||
- sources | ||
excluded: # case-sensitive paths to ignore during linting. Takes precedence over `included` | ||
|
||
# If true, SwiftLint will not fail if no lintable files are found. | ||
allow_zero_lintable_files: false | ||
|
||
# If true, SwiftLint will treat all warnings as errors. | ||
strict: false | ||
|
||
# rules that have both warning and error levels, can set just the warning level | ||
# implicitly | ||
line_length: 200 | ||
function_body_length: 200 | ||
# they can set both implicitly with an array | ||
type_body_length: | ||
- 300 # warning | ||
- 400 # error | ||
# or they can set both explicitly | ||
file_length: | ||
warning: 800 | ||
error: 1200 | ||
# naming rules can set warnings/errors for min_length and max_length | ||
# additionally they can set excluded names | ||
type_name: | ||
min_length: 4 # only warning | ||
max_length: # warning and error | ||
warning: 40 | ||
error: 50 | ||
excluded: # excluded via string | ||
allowed_symbols: ["_"] # these are allowed in type names | ||
identifier_name: | ||
min_length: # only min_length | ||
warning: 3 | ||
error: 2 | ||
excluded: [i, URL, of, by] # excluded via string array | ||
large_tuple: | ||
warning: 3 | ||
error: 5 | ||
reporter: "github-actions-logging" # reporter type (xcode, json, csv, checkstyle, codeclimate, junit, html, emoji, sonarqube, markdown, github-actions-logging, summary) | ||
|
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.