Repository navigation
Add claudemd and update linting rules - #271
Merged
Merged
Conversation
Reviewer's GuideThis PR introduces a CLAUDE.md guide for AI-assisted development, aligns Prettier/ESLint formatting with other subscription apps, and applies those formatting rules across React components and utilities. Flow diagram for updated linting and formatting workflowflowchart LR
Dev(Developer edits code)
PrettierConfig(.prettierrc)
ESLintConfig(eslint.config.js)
LintCmd(npm run lint)
VerifyCmd(npm run verify)
BuildCmd(npm run build)
TestCmd(npm run test)
Dev --> PrettierConfig
PrettierConfig --> ESLintConfig
ESLintConfig --> LintCmd
LintCmd --> VerifyCmd
VerifyCmd --> BuildCmd
VerifyCmd --> TestCmd
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This adds claude md for ai assisted development, as well as ensures the auto formatting and linting config matches with our other apps. Linter has been run to fix issues
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="src/utils/utils.ts" line_range="12" />
<code_context>
return {
...to,
- pathname: `${basename}/${to.pathname}`.replace(`^${basename}//`, '/'),
+ pathname: `${basename}/${to.pathname}`.replace(`^${basename}//`, '/')
};
};
</code_context>
<issue_to_address>
**issue (bug_risk):** The replace pattern is a plain string, so it won't behave like a regex and may not correctly normalize double slashes.
Because `replace` treats its first argument as a literal string, this only replaces the exact substring ``^${basename}//`` and won’t match “basename + double slash at the start” as a regex would. If you intend to handle leading double slashes or duplicate basenames, use a regex, e.g.
```ts
pathname: `${basename}/${to.pathname}`.replace(new RegExp(`^${basename}//`), '/')
```
or normalize by collapsing multiple slashes:
```ts
pathname: `${basename}/${to.pathname}`.replace(/\/+/g, '/')
```
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
lukegrn
force-pushed
the
claudemd-linting
branch
from
August 5, 2026 14:10
1c5007f to
9bbf1be
Compare
BrooklynLCodes
approved these changes
Aug 6, 2026
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.
This adds claude md for ai assisted development, as well as ensures the auto formatting and linting config matches with our other apps. Linter has been run to fix formatting issues
Summary by Sourcery
Document project architecture and align code formatting with shared linting and Prettier rules.
Enhancements:
Build:
Documentation: