File tree 1 file changed +36
-2
lines changed
1 file changed +36
-2
lines changed Original file line number Diff line number Diff line change 1
- # CustomModule
1
+ # IBlinter plugin for CustomModuleRule
2
2
3
- A description of this package.
3
+ Check if custom class match custom module by ` custom_module_rule ` config.
4
+
5
+
6
+ ## Configuration
7
+
8
+ | key | description |
9
+ | :---------------------| :--------------------------- |
10
+ | ` custom_module_rule ` | Custom module rule configs. |
11
+
12
+
13
+ ### CustomModuleConfig
14
+
15
+ You can configure ` custom_module ` rule by ` CustomModuleConfig ` list.
16
+
17
+ | key | description |
18
+ | :-----------| :---------------------------------------------------------------------------- |
19
+ | ` module ` | Module name. |
20
+ | ` included ` | Path to ` *.swift ` classes of the module for ` custom_module ` lint. |
21
+ | ` excluded ` | Path to ignore for ` *.swift ` classes of the module for ` custom_module ` lint. |
22
+
23
+
24
+ ``` yaml
25
+ enabled_rules :
26
+ - relative_to_margin
27
+ disabled_rules :
28
+ - custom_class_name
29
+ excluded :
30
+ - Carthage
31
+ custom_module_rule :
32
+ - module : UIComponents
33
+ included :
34
+ - UIComponents/Classes
35
+ excluded :
36
+ - UIComponents/Classes/Config/Generated
37
+ ` ` `
You can’t perform that action at this time.
0 commit comments