@hint/hint-manifest-is-valid
Version:
hint that that checks if the web app manifest file is valid
23 lines (22 loc) • 770 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const utils_types_1 = require("@hint/utils-types");
const hint_scope_1 = require("hint/dist/src/lib/enums/hint-scope");
const i18n_import_1 = require("./i18n.import");
const meta = {
docs: {
category: utils_types_1.Category.pwa,
description: (0, i18n_import_1.getMessage)('description', 'en'),
name: (0, i18n_import_1.getMessage)('name', 'en')
},
getDescription(language) {
return (0, i18n_import_1.getMessage)('description', language);
},
getName(language) {
return (0, i18n_import_1.getMessage)('name', language);
},
id: 'manifest-is-valid',
schema: [],
scope: hint_scope_1.HintScope.any
};
exports.default = meta;