bem / bem/project-stub

@ *.blocks -> blocks/*

Open
#158 80 comments 10 reactions 0 assignees View on GitHub
poll question
Dominant language
JavaScript
Stars
312
Forks
189
PR merge metrics
No merged PRs in 30d

Description

Часто видно в проектах, что люди предпочитают именно такой стиль расположения блоков. Он добавляет один уровень иерархии, но при этом визуально выглядит намного аккуратней.

```
common.blocks
desktop.blocks
desing.blocks
```

```
blocks/common
blocks/desktop
blocks/desing
```

таже история и с *bundles.

upd.
При этом сразу понятно, что всё находится именно в папке `blocks`, а не в папках, которые оканчиваются на `blocks`. Сейчас все лежит на одном уровне (папки блоков, папки бандлов, служебные каталоги) и не сразу понимаешь куда нужно лезть.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the current project-root layout and compare the existing *.blocks and *.bundles directories with the proposed blocks/* and bundles/* structure. Read the issue discussion to determine whether the layout has been accepted and what migration scope is expected. Done means the directory organization is consistently updated without leaving ambiguous top-level block or bundle folders.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.