@es-joy/jsdoccomment
Advanced tools
Comparing version 0.33.0 to 0.33.1
# CHANGES for `@es-joy/jsdoccomment` | ||
## 0.33.1 | ||
- fix: add to default no types: `description`, `example`, `file`, | ||
`fileoverview`, `license`, `overview`, `see`, `summary` | ||
- fix: add to no names: `file`, `fileoverview, `overview` | ||
## 0.33.0 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "@es-joy/jsdoccomment", | ||
"version": "0.33.0", | ||
"version": "0.33.1", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -5,0 +5,0 @@ "contributors": [], |
@@ -82,7 +82,8 @@ # @es-joy/jsdoccomment | ||
- `defaultNoTypes` = The tags which allow no types by default: | ||
`default`, `defaultvalue`, `see`; | ||
`default`, `defaultvalue`, `description`, `example`, `file`, | ||
`fileoverview`, `license`, `overview`, `see`, `summary`; | ||
- `defaultNoNames` - The tags which allow no names by default: | ||
`access`, `author`, `default`, `defaultvalue`, `description`, `example`, | ||
`exception`, `kind`, `license`, `return`, `returns`, `since`, `summary`, | ||
`throws`, `version`, `variation` | ||
`exception`, `file`, `fileoverview`, `kind`, `license`, `overview`, | ||
`return`, `returns`, `since`, `summary`, `throws`, `version`, `variation` | ||
@@ -204,6 +205,10 @@ ## ESLint AST produced for `comment-parser` nodes (`JsdocBlock`, `JsdocTag`, and `JsdocDescriptionLine`) | ||
1. Get complete code coverage | ||
2. Might add `trailing` for `JsdocBlock` to know whether it is followed by a | ||
1. Given that `esquery` expects a `right` property to search for `>` (the | ||
child selector), we should perhaps insist, for example, that params are | ||
the child property for `JsdocBlock` or such. Where `:has()` is currently | ||
needed, one could thus instead just use `>`. | ||
1. Might add `trailing` for `JsdocBlock` to know whether it is followed by a | ||
line break or what not; `comment-parser` does not provide, however | ||
3. Fix and properly utilize `indent` argument (challenging for | ||
1. Fix and properly utilize `indent` argument (challenging for | ||
`eslint-plugin-jsdoc` but needed for `jsdoc-eslint-parser` stringifiers | ||
to be more faithful); should also then use the proposed `trailing` as well |
@@ -18,3 +18,7 @@ /* eslint-disable prefer-named-capture-group -- Temporary */ | ||
export const defaultNoTypes = ['default', 'defaultvalue', 'see']; | ||
export const defaultNoTypes = [ | ||
'default', 'defaultvalue', 'description', 'example', | ||
'file', 'fileoverview', 'license', | ||
'overview', 'see', 'summary' | ||
]; | ||
@@ -25,4 +29,5 @@ export const defaultNoNames = [ | ||
'description', | ||
'example', 'exception', 'kind', | ||
'license', | ||
'example', 'exception', 'file', 'fileoverview', | ||
'kind', | ||
'license', 'overview', | ||
'return', 'returns', | ||
@@ -29,0 +34,0 @@ 'since', 'summary', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68268
1510
213