rubocop-discourse 3.0.2 → 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: 891bf23985f5f43eb7c159ea17d37796d1506bda70d0543ee8db898b4959117d
4
- data.tar.gz: 4f6070c33571f3366a15d855af0cf54bfbbd17fc25fb1d81a6117945057500c1
3
+ metadata.gz: 41746c69c5012edbafa4e2f85d902a55a72235316897c0a5afdff69a7b7abbda
4
+ data.tar.gz: b0128a77bf8387b94c7797c6e3df26a0eb1b0ffb68a87122b005e34aab13a448
5
5
  SHA512:
6
- metadata.gz: 325c00e05fab4174022dfe6a2f01f20be7d259050fe2585ea928382cad408199d0801eb3a1f10ac8608321d42437b13db05e7dad8dcac87b70789f014e49702f
7
- data.tar.gz: 8fabe70bb7af7c15459a434f2f54b79e074c2f4e8e254853f9d1fd6cd9d248046388b47431c9832c907882d9516b4530d5cf2e733570e001a9620871c2a07f09
6
+ metadata.gz: abf20aff53a75d624eeb703a3bb86036486ebb6b5dd67b5255312eb8eb7e2ffb04cd57f3cf6ae173bff02a8bee6042fe93acaf038851c2a06011a082e91fd382
7
+ data.tar.gz: 53b2e0e2bed1e95f94531819aa4f0c5595e1627231f53f626e6f557c59ab42d854f58362211ae8ff23fa60b5ebea4454185de2d9c4ce0322c71f2ed4e89c91e9
data/default.yml CHANGED
@@ -1,6 +1,3 @@
1
1
  inherit_from:
2
2
  - ./stree-compat.yml
3
3
  - ./rubocop-layout.yml
4
-
5
- Layout/LineLength:
6
- Enabled: false
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
 
@@ -50,3 +62,6 @@ Lint/ShadowingOuterLocalVariable:
50
62
 
51
63
  Bundler/OrderedGems:
52
64
  Enabled: false
65
+
66
+ Layout/LineLength:
67
+ Enabled: false
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rubocop-discourse"
5
- s.version = "3.0.2"
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.2
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