Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { Category } from '@hint/utils-types';
import { HintMetadata, HintScope } from 'hint';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'meta-theme-color',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-icons',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintMetadata, HintScope } from 'hint';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'apple-touch-icons',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintMetadata, HintScope } from 'hint';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-exists',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-is-valid',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-file-extension',
schema: [],
scope: HintScope.any
};
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-scoped-urls',
schema: [],
scope: HintScope.site
};
import { Category } from '@hint/utils-types';
import { HintScope } from 'hint/dist/src/lib/enums/hint-scope';
import { HintMetadata } from 'hint/dist/src/lib/types';
import { getMessage } from './i18n.import';
const meta: HintMetadata = {
docs: {
category: Category.pwa,
description: getMessage('description', 'en'),
name: getMessage('name', 'en')
},
/* istanbul ignore next */
getDescription(language: string) {
return getMessage('description', language);
},
/* istanbul ignore next */
getName(language: string) {
return getMessage('name', language);
},
id: 'manifest-app-name',
schema: [],
scope: HintScope.any
};