Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

requirePropertyDescription.js 961B

12345678910111213141516171819202122232425262728293031323334
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. var _iterateJsdoc = _interopRequireDefault(require("../iterateJsdoc"));
  7. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  8. var _default = (0, _iterateJsdoc.default)(({
  9. report,
  10. utils
  11. }) => {
  12. utils.forEachPreferredTag('property', (jsdoc, targetTagName) => {
  13. if (!jsdoc.description.trim()) {
  14. report(`Missing JSDoc @${targetTagName} "${jsdoc.name}" description.`, null, jsdoc);
  15. }
  16. });
  17. }, {
  18. iterateAllJsdocs: true,
  19. meta: {
  20. docs: {
  21. description: 'Requires that each `@property` tag has a `description` value.',
  22. url: 'https://github.com/gajus/eslint-plugin-jsdoc#eslint-plugin-jsdoc-rules-require-property-description'
  23. },
  24. type: 'suggestion'
  25. }
  26. });
  27. exports.default = _default;
  28. module.exports = exports.default;
  29. //# sourceMappingURL=requirePropertyDescription.js.map