@prowise/eslint-config-linting-rules 1.0.6 → 1.0.8
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/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@prowise/eslint-config-linting-rules","version":"1.0.
|
|
1
|
+
{"name":"@prowise/eslint-config-linting-rules","version":"1.0.8","description":"Default Prowise linting rules for npm packages.","main":"index.js","exports":{"./default":"./index.js","./typescript":"./typescript.js","./backend":"./backend.js","./frontend":"./frontend.js"},"scripts":{"lint":"eslint **/*.js"},"repository":{"type":"git","url":"git+ssh://git@bitbucket.org/prowise/npm-linting-rules.git"},"author":"Prowise B.V.","license":"UNLICENSED","homepage":"https://bitbucket.org/prowise/npm-linting-rules#readme","dependencies":{"@typescript-eslint/eslint-plugin":"^5.48.1","@typescript-eslint/parser":"^5.48.1","confusing-browser-globals":"^1.0.11","eslint":"^8.31.0","eslint-import-resolver-typescript":"^3.5.3","eslint-plugin-import":"^2.26.0","eslint-plugin-jest":"^27.2.1","eslint-plugin-jsdoc":"^39.6.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-arrow":"^1.2.3","eslint-plugin-react":"^7.32.0","eslint-plugin-react-hooks":"^4.6.0","object.assign":"^4.1.4"}}
|
|
@@ -169,7 +169,7 @@ module.exports = {
|
|
|
169
169
|
* tag descriptions are written in complete sentences
|
|
170
170
|
* https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-require-description-complete-sentence.
|
|
171
171
|
*/
|
|
172
|
-
"jsdoc/require-description-complete-sentence": "
|
|
172
|
+
"jsdoc/require-description-complete-sentence": "warn",
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
175
|
* Requires that all functions have examples
|
|
@@ -224,7 +224,7 @@ module.exports = {
|
|
|
224
224
|
* Requires that all function parameters are documented ✅
|
|
225
225
|
* https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-require-param.
|
|
226
226
|
*/
|
|
227
|
-
"jsdoc/require-param": "
|
|
227
|
+
"jsdoc/require-param": "warn",
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* Requires that each `@param` tag has a `description` value ✅
|
|
@@ -273,7 +273,7 @@ module.exports = {
|
|
|
273
273
|
* Requires that returns are documented ✅
|
|
274
274
|
* https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-require-returns.
|
|
275
275
|
*/
|
|
276
|
-
"jsdoc/require-returns": "
|
|
276
|
+
"jsdoc/require-returns": "warn",
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Requires a return statement in function body if a `@returns` tag is specified in jsdoc comment ✅
|