code-formatter 1.1.6 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/code_formatter/resources/swiftlint.yml +16 -0
- data/lib/code_formatter/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39a5e170c64f2f8c56207887f3a2bf4de9307b8ad8c3a7de969d61c88b7c5e5a
|
4
|
+
data.tar.gz: ff819fc63d86c76756ff558e24b6250114665a3bb9da92e5bbfe297fe8081097
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12aee6f78ea69222b2214ec5afdae6c1c57a16a180f628b78c1592b2b6cf01da14a930b6b716a212f9613ad2ee21996b1360adc92a77a2a762bd01e97d122cff
|
7
|
+
data.tar.gz: 153fd3211e437abdb56a55dca604e8970677467d89c52b95e59e269e70a8e93aabcec787f128b982a664d375d89dd446160b8c894dd876b74965b89f9ecc147a
|
@@ -21,3 +21,19 @@ file_length:
|
|
21
21
|
function_body_length:
|
22
22
|
warning: 70
|
23
23
|
error: 100
|
24
|
+
|
25
|
+
custom_rules:
|
26
|
+
no_current_world_mutation:
|
27
|
+
included: .*\.swift
|
28
|
+
excluded: .*Test[s]?\.swift
|
29
|
+
name: Current World Mutation
|
30
|
+
regex: Current\.\S+\s+=
|
31
|
+
message: "Don't mutate the World"
|
32
|
+
severity: warning
|
33
|
+
no_app_world_mutation:
|
34
|
+
included: .*\.swift
|
35
|
+
excluded: .*Test[s]?\.swift
|
36
|
+
name: App World Mutation
|
37
|
+
regex: World\.\S+\s+=
|
38
|
+
message: "Don't mutate the World"
|
39
|
+
severity: warning
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: code-formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sroik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
|
140
|
-
rubygems_version: 2.7.7
|
139
|
+
rubygems_version: 3.0.3
|
141
140
|
signing_key:
|
142
141
|
specification_version: 4
|
143
142
|
summary: code formatter
|