@nfq/eslint-config 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/rules/jsdoc.js +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.1.2](https://github.com/nfqde/eslint-config-nfq/compare/v2.1.1...v2.1.2) (2022-05-27)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **require-jsdoc:** changes in the require-jsdoc rule ([#14](https://github.com/nfqde/eslint-config-nfq/issues/14)) ([6c1b035](https://github.com/nfqde/eslint-config-nfq/commit/6c1b035c6b8380e680112c0935175919caacd4ff))
|
|
11
|
+
|
|
5
12
|
### [2.1.1](https://github.com/nfqde/eslint-config-nfq/compare/v2.1.0...v2.1.1) (2022-05-24)
|
|
6
13
|
|
|
7
14
|
|
package/package.json
CHANGED
package/rules/jsdoc.js
CHANGED
|
@@ -56,7 +56,20 @@ module.exports = {
|
|
|
56
56
|
'jsdoc/require-example': 'off', // Reports missing example in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-example
|
|
57
57
|
'jsdoc/require-file-overview': 'off', // Reports missing file overview in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-file-overview
|
|
58
58
|
'jsdoc/require-hyphen-before-param-description': ['error', 'never'], // Reports missing hyphen before param description in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-hyphen-before-param-description
|
|
59
|
-
'jsdoc/require-jsdoc':
|
|
59
|
+
'jsdoc/require-jsdoc': [
|
|
60
|
+
'error',
|
|
61
|
+
{
|
|
62
|
+
publicOnly: false,
|
|
63
|
+
require: {
|
|
64
|
+
ArrowFunctionExpression: true,
|
|
65
|
+
ClassDeclaration: true,
|
|
66
|
+
ClassExpression: true,
|
|
67
|
+
FunctionDeclaration: true,
|
|
68
|
+
FunctionExpression: true,
|
|
69
|
+
MethodDefinition: true
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
], // Reports missing JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-jsdoc
|
|
60
73
|
'jsdoc/require-param': [
|
|
61
74
|
'error',
|
|
62
75
|
{
|