If husky is not running, run the following command
chmod ug+x .husky/*Install dependencies
yarn add -D prettier eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-simple-import-sort husky lint-staged| /** | |
| * AutoResize Sistemi - Refaktör Edilmiş Sürüm | |
| * E-ticaret platformları için görsel optimizasyonu ve yeniden boyutlandırma sistemi | |
| * | |
| * @yazar Mehmet Sağır | |
| * @sürüm 4.24.3 | |
| * @açıklama Fancybox içerisinde olan görsellerin de yeniden boyutlandırılabilmesi için elementsForListe içerisine '.ProductPreviewItem', '.PreviewallImagesItem' class'ları eklenmiştir. | |
| */ | |
| // String'lerde startsWith kontrolü için yardımcı fonksiyon |
| // --- ConfigManager --- | |
| export class ConfigManager { | |
| constructor(config) { | |
| this.config = this.validateConfig(config); | |
| } | |
| validateConfig(config) { | |
| // Basit doğrulama (geliştirilebilir) | |
| return config; | |
| } |