rubocop-discourse 3.0.3 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3d24c868dde5baa70443d32cd905a19094685c8e2467808f3edcf640f5ef1d36
4
- data.tar.gz: 7d71e2042e81a14434d2a04daf46e7b75628648d2a549552c22dcfcd755e7a19
3
+ metadata.gz: 41746c69c5012edbafa4e2f85d902a55a72235316897c0a5afdff69a7b7abbda
4
+ data.tar.gz: b0128a77bf8387b94c7797c6e3df26a0eb1b0ffb68a87122b005e34aab13a448
5
5
  SHA512:
6
- metadata.gz: 4bcd8327760a86df7657bcc2351e4cad3da8946388eb39d7470f9f743818c268e004b181608ad104fd5306c030e2e83e42cbb613073435766a81a8fef039f83d
7
- data.tar.gz: b1ce6296467fc8dbb2e0632f051cbd4de8f495050a3b53b5ad25fb498a7ed8b69d690c902ec5d908f71885f33e14f35e02a786b0c6da6e70e674469419c8ed27
6
+ metadata.gz: abf20aff53a75d624eeb703a3bb86036486ebb6b5dd67b5255312eb8eb7e2ffb04cd57f3cf6ae173bff02a8bee6042fe93acaf038851c2a06011a082e91fd382
7
+ data.tar.gz: 53b2e0e2bed1e95f94531819aa4f0c5595e1627231f53f626e6f557c59ab42d854f58362211ae8ff23fa60b5ebea4454185de2d9c4ce0322c71f2ed4e89c91e9
data/rubocop-core.yml CHANGED
@@ -38,6 +38,18 @@ Style/GlobalVars:
38
38
  - 'spec/**/*.rb'
39
39
  - 'plugins/*/spec/**/*'
40
40
 
41
+ Style/InvertibleUnlessCondition:
42
+ Enabled: true
43
+
44
+ Style/NegatedUnless:
45
+ Enabled: true
46
+
47
+ Style/UnlessElse:
48
+ Enabled: true
49
+
50
+ Style/UnlessLogicalOperators:
51
+ Enabled: true
52
+
41
53
  Lint/Debugger:
42
54
  Enabled: true
43
55
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubocop-discourse"
5
- s.version = "3.0.3"
5
+ s.version = "3.1.0"
6
6
  s.summary = "Custom rubocop cops used by Discourse"
7
7
  s.authors = ["Discourse Team"]
8
8
  s.license = "MIT"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-discourse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Discourse Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop