Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martyanovandrey authored and 3y3 committed Mar 25, 2024
1 parent 18c15af commit ef9e98c
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,24 @@ export enum TextDirection {
LTR = 'ltr',
}

export const LINK_KEYS_LEADING_CONFIG = ['href']
export const LINK_KEYS_PAGE_CONSTRUCTOR_CONFIG = ['src','url','href','icon','image','desktop','mobile','tablet','previewImg','image', 'avatar', 'logo', 'light', 'dark']
export const LINK_KEYS_LEADING_CONFIG = ['href'];
export const LINK_KEYS_PAGE_CONSTRUCTOR_CONFIG = [
'src',
'url',
'href',
'icon',
'image',
'desktop',
'mobile',
'tablet',
'previewImg',
'image',
'avatar',
'logo',
'light',
'dark',
];

export const LINK_KEYS = [...new Set([...LINK_KEYS_LEADING_CONFIG, ...LINK_KEYS_PAGE_CONSTRUCTOR_CONFIG])]
export const LINK_KEYS = [
...new Set([...LINK_KEYS_LEADING_CONFIG, ...LINK_KEYS_PAGE_CONSTRUCTOR_CONFIG]),
];

0 comments on commit ef9e98c

Please sign in to comment.