Skip to content

Commit 50a69b9

Browse files
committed
v0.7.0
1 parent 47661c0 commit 50a69b9

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## [Unreleased]
22

3+
## [0.7.0] - 2023-10-14
4+
5+
- New feature
6+
- `YARD/MismatchName`: Check undocumented argument.
7+
38
## [0.6.0] - 2023-10-10
49

510
- Split cop from `YARD/TagType` to

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
rubocop-yard (0.6.0)
4+
rubocop-yard (0.7.0)
55
rubocop
66
yard
77

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ Check `@param` and `@option` name with method definition.
8686
def foo(strings, opts = {})
8787
```
8888

89+
Check undocumented argument.
90+
91+
```
92+
# @param [String] strings
93+
^^^^^^^^^^^^^^^^^^^^^^^^^ This method has argument `opts`, But not documented
94+
def foo(strings, opts = {})
95+
```
96+
8997
### `YARD/MeaninglessTag`
9098

9199
Check `@param` and `@option` with class/module or casgn

lib/rubocop/yard/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module RuboCop
44
module YARD
5-
VERSION = "0.6.0"
5+
VERSION = "0.7.0"
66
end
77
end

0 commit comments

Comments
 (0)