Garen J. Torikian
7484f0aaaf
Bump to 0.6.0
2017-11-22 12:13:43 -05:00
Garen J. Torikian
38de8d0de3
Loosen up
2017-11-22 12:13:32 -05:00
Garen Torikian
e204ef1906
Merge pull request #17 from chilcutt/fixes_for_rubocop_51
...
Fixes for Rubocop v0.51.0
2017-11-22 12:11:56 -05:00
Kyle Chilcutt
1b16912d9a
Re-alphabetize config/default.yml
...
In order to make it easier to find what you're looking for, alphabetize
the cops in the default file.
2017-10-31 09:52:37 -07:00
Kyle Chilcutt
9f083acd94
Update namespace on Style cops
...
Several Style cops have been moved to the Naming namespace. Update the
cop namespaces to match and remove errors.
2017-10-31 09:40:40 -07:00
Kyle Chilcutt
277bdfa060
Update LiteralInCondition to LiteralAsCondition
...
Rubocop updated Lint/LiteralInCondition to Lint/LiteralAsCondition,
update our default.yml to match the new name.
2017-10-31 09:37:12 -07:00
Kyle Chilcutt
191d8c4285
Remove cop for Lint/InvalidCharacterLiteral
...
No longer supported in rubocop v0.51.0.
2017-10-28 13:35:20 -07:00
Kyle Chilcutt
806b21bf0c
Update cops to match rubocop API changes
...
The API for rubocop has changed and is expecting `nil?` instead of `nil`
for node matchers. Update all instances to `nil?`.
The API for `add_offense` has been updated to use named parameters.
Update callers to match and not raise warnings.
2017-10-28 13:32:48 -07:00
Kyle Chilcutt
fdd33b749f
Update rubocop in gemspec to ~> 0.51.0
...
Minor version changes of rubocop have breaking changes, pin dependency
to patch level of v0.51.
2017-10-28 13:29:16 -07:00
Joshua Peek
526d1bf54d
RuboCop GitHub 0.5.0
2017-06-22 11:06:48 -04:00
Joshua Peek
b5cd08a178
Merge pull request #10 from tetsuya/style-to-layout
...
Change department from Style to Layout
2017-06-22 11:05:54 -04:00
tetsuya
85012128e1
Bump rubocop dependency to ~> 0.49
2017-06-22 14:04:30 +09:00
tetsuya
b2cebfd9d3
Add erubis as development dependency
2017-06-09 18:37:20 +09:00
tetsuya
3b770a9d9a
Change department from Style to Layout
2017-06-09 18:16:39 +09:00
Joshua Peek
baee432bc4
RuboCop GitHub 0.4.2
2017-03-30 11:53:17 -07:00
Joshua Peek
6a993680d9
Merge pull request #9 from muan/patch-1
...
Include guides in gem
2017-03-29 23:29:28 -07:00
Mu-An ✌️ Chiou
7e8beb2fa9
Include guides in gem
2017-03-30 13:47:39 +08:00
Joshua Peek
c68a909992
RuboCop GitHub 0.4.1
2017-03-24 11:56:15 -07:00
Joshua Peek
a7d8078ab0
Fix render layout with block pass
2017-03-24 11:55:49 -07:00
Joshua Peek
2043c9d677
Ignore inline
2017-03-24 11:50:14 -07:00
Joshua Peek
8f413ca62b
Prevent render inline: in views
2017-03-24 11:48:40 -07:00
Joshua Peek
790f8b4333
Ignore inline renders
2017-03-24 11:33:58 -07:00
Joshua Peek
12054ea1ce
RuboCop GitHub 0.4.0
2017-03-24 11:22:31 -07:00
Joshua Peek
485cf05b63
Merge pull request #8 from github/render-cop
...
Add Rails render cops
2017-03-24 11:22:16 -07:00
Joshua Peek
8d00a54a17
Prefix controller specific cops
2017-03-24 11:19:26 -07:00
Joshua Peek
f37689c68d
Add file to view partial keys
2017-03-24 11:16:18 -07:00
Joshua Peek
0474257d25
Split controller/view literal checkers
2017-03-24 11:10:00 -07:00
Joshua Peek
af13455022
Disable render object: cop for now
2017-03-23 15:33:27 -07:00
Joshua Peek
21db716c69
Set initial view render shorthand include paths
2017-03-23 15:31:09 -07:00
Joshua Peek
afb443af91
Ignore other render keys
2017-03-23 15:25:48 -07:00
Joshua Peek
cc1f5b8577
Add render static literal cop
2017-03-23 15:15:32 -07:00
Joshua Peek
c29dd0d21a
Add render partial shorthand cop
2017-03-23 14:51:41 -07:00
Joshua Peek
2971dc20cf
Add render str shorthand cop
2017-03-22 16:54:09 -07:00
Joshua Peek
1da9a39e96
Add render action: sym cop
2017-03-22 16:28:34 -07:00
Joshua Peek
a21147e582
Add Rails controller/view render paths exist cop
2017-03-22 16:23:36 -07:00
Joshua Peek
39a1e9c886
Add render object: cop
2017-03-22 16:19:26 -07:00
Joshua Peek
ea3f173248
Add render inline: cop
2017-03-22 16:14:33 -07:00
Joshua Peek
26388b4b17
Use require_relative
2017-03-22 15:58:15 -07:00
Joshua Peek
295ea2c9bc
Extract common cop test base
2017-03-22 15:52:39 -07:00
Joshua Peek
3ae21d4ca4
Add bundler ordered gems cop
2017-03-22 15:47:00 -07:00
Joshua Peek
76243ba4a3
Add bundler duplicated gem cop
2017-03-22 15:46:20 -07:00
Joshua Peek
d9bbd70d01
Add frozen string literals
2017-03-22 15:44:29 -07:00
Joshua Peek
1bf6ea1a57
RuboCop GitHub 0.3.0
2017-01-25 09:58:39 -07:00
Joshua Peek
38b879419d
Include STYLEGUIDE.md in gem
2017-01-25 09:58:20 -07:00
Joshua Peek
d4aedb9187
Update Lint/Eval namespace
2017-01-25 09:57:29 -07:00
Joshua Peek
c6b44c761a
Sorry, disable copyright
2017-01-25 09:56:40 -07:00
Joshua Peek
2df788b39a
Exclude semicolons from compiled erb
2017-01-25 09:56:01 -07:00
Joshua Peek
362365ac0f
Disable copyright by default
2017-01-25 09:54:29 -07:00
Joshua Peek
17ad3b5a0f
Disable metric cops by default
...
One size will never fit all projects by default
2017-01-25 09:53:38 -07:00
Joshua Peek
bca746b548
Enabled HashStyle by default
2017-01-25 09:51:16 -07:00