ClashX/.swiftlint.yml
Yicheng 425044b20d
feat: add new native connection panel (#1181)
* feat: add base connection window

* feat: listen to clash connection api and get process information

* misc: add top list tableview

* fix: get no-app process

* feat: add status icon

* feat: add detail view

* misc: init left pannel view

* misc: update window background

* feat: support top tableview sort

* feat: support left pannelView search

* feat: update left panel bg color and apply application filter

* feat: add top searchfield

* feat: add host and sourceIp list datasource

* misc: unify window controller

* feat: support speed sort

* misc: add connection translations

* feat: add left pannel view section display.

* misc: Rename ConnectionApplicationClientCellView to ApplicationClientCellView.swift

* feat: Refactor SectionedTableView.swift

* feat: update left panel view

* feat: add right click to close conn

* feat: support sort by host

* feat: add top segment control

* feat: add active connection support

* misc: Rename `ConnectionsLeftPannelView` to `ConnectionLeftPannelView`

* misc: add parent controller for ConnectionsViewController

* misc: update localization

* misc: recover failed request from log to connections

* misc: filter application by path

* misc: swiftlint enable empty_count rule

* feat: add global shortcut for connections

* fix: unknown filter

* feat: add close button

* misc: fix multi selection

* fix: remove force unwarp

* misc: fix beta ci [beta]

---------

Co-authored-by: miniLV <liangyuhangapple@gmail.com>
2023-07-16 12:16:15 +08:00

26 lines
770 B
YAML

# 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
- colon
- identifier_name
- force_cast
- closure_parameter_position
- file_length
- large_tuple
- type_body_length
- cyclomatic_complexity
- function_body_length
- nesting
opt_in_rules: # some rules are turned off by default, so you need to opt-in
- empty_count
- empty_string
included: # paths to include during linting. `--path` is ignored if present.
- ClashX
excluded: # paths to ignore during linting. Takes precedence over `included`.
- ClashX/Vendor
- Pods
analyzer_rules: # Rules run by `swiftlint analyze`
- explicit_self
# implicitly
line_length: 300
# reporter: "xcode"