Skip to content

Commit 6152474

Browse files
committed
chore(ai): update communication style
1 parent 1619421 commit 6152474

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.cursorrules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Every command: Create Context → Inspect Context → Run Command
7171
- Action-oriented: what to DO
7272
- Ground in facts: cite code/docs
7373
- Remove: "basically", "essentially", "in order to"
74+
- Use British English: "behaviour" not "behavior", "organised" not "organized", etc.
7475

7576
## Code Style
7677

.notes/decision-trees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ Is this a fundamentally new type of version specifier?
342342
1. **New command** → Follow checklist above
343343
2. **New config option** → Rcfile or Cli struct + merge logic
344344
3. **New version group type** → New VersionGroupVariant + validation logic
345-
4. **Performance optimization** → Run benchmarks before and after
345+
4. **Performance optimisation** → Run benchmarks before and after
346346

347347
### When Stuck
348348

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It is deployed to the npm registry as `syncpack` in the version range `syncpack@
66

77
## LLM-Assisted Development
88

9-
If you're using an LLM (like Claude, ChatGPT, or Copilot) to assist with development, see **[.notes/index.md](./.notes/index.md)** for a comprehensive development hub optimized for LLM context. It includes:
9+
If you're using an LLM (like Claude, ChatGPT, or Copilot) to assist with development, see **[.notes/index.md](./.notes/index.md)** for a comprehensive development hub optimised for LLM context. It includes:
1010

1111
- Essential file locations and their purposes
1212
- Core data structures and their relationships

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync"] }
4242
default = []
4343

4444
[profile.release]
45-
codegen-units = 1 # Reduce number of codegen units to increase optimizations
45+
codegen-units = 1 # Reduce number of codegen units to increase optimisations
4646
debug = false # Remove debug information
47-
lto = true # Enable Link Time Optimization
48-
opt-level = "z" # Optimize for size rather than speed
47+
lto = true # Enable Link Time Optimisation
48+
opt-level = "z" # Optimise for size rather than speed
4949
panic = "abort" # Abort on panic rather than unwinding
5050
strip = true # Strip symbols from binary

src/group_selector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ impl GroupSelector {
116116
return false;
117117
}
118118

119-
// 3. Dependencies (pattern matching, optimized for common cases)
119+
// 3. Dependencies (pattern matching, optimised for common cases)
120120
if self.has_dependency_filters && !self.matches_dependencies(descriptor) {
121121
return false;
122122
}

src/pattern_matcher.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
//! Fast pattern matching for dependency and package names.
22
//!
3-
//! Optimizes common glob patterns into faster string operations:
3+
//! Optimises common glob patterns into faster string operations:
44
//! - "react" → exact match (==)
55
//! - "@aws-sdk/**" → prefix match (starts_with)
66
//! - "**-loader" → suffix match (ends_with)
77
//! - Complex patterns → full glob matching (fallback)
88
99
use {globset::{Glob, GlobMatcher}, std::fmt};
1010

11-
/// Pattern matcher optimized for common npm package name patterns.
11+
/// Pattern matcher optimised for common npm package name patterns.
1212
#[derive(Clone)]
1313
pub enum PatternMatcher {
1414
/// Exact string match: "react" → value == "react"

0 commit comments

Comments
 (0)