Repository navigation
Layers and guardrails: src/ root files moved into core/ and platform/, a layer and cycle check, one build script, golden tests split by area - #9
Open
tomeyer97 wants to merge 8 commits into
Conversation
…nderstanding settings in Restricted Mode
….0 changelog; notes on the example shop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Groundwork for the refactor, with no change in behaviour. The src/ root files move into
core/,platform/and their feature folders in one commit that only moves files and rewrites imports.npm run lintis new: it runs ESLint and a check of the layer rule (core < platform < features < ui < composition). That check records today's violations and caps the largest import cycle at its current size (55 files, 9 inside check/). The build is now one script with a file per target, andnpm run watchand the VS Code task use it. The golden tests are split by area. Release calls CI, so both run the same tests.The keybindings are generated from one chord table, command titles are in Title Case, and the understanding settings are now in Restricted Mode. The understanding check moves from the README to docs/understanding-check.md, and the 0.26.0 changelog is shorter.
sleepdefined twice in a 6-file examplenode -eone-linerstest:*names stay)Changed goldens
None.
Follow-ups
@typescript-eslint/no-floating-promises, and turn the disabled recommended rules back on as the code passes them.whenwords against them (N158, N159).