AGENTS.md 1.1 KB

Coding & Formatting Rules

The user expects strict adherence to the following coding, formatting, and behavioral rules in this repository:

General Formatting

  1. Double Quotes: Use double quotes (") instead of single quotes for all strings and imports.
  2. Sort by Length: Sort arrays, JSON object keys, object properties, and import statements from longest to shortest string length (uzundan kısaya). This is a strict visual aesthetic preference.
  3. Line Breaks (Newlines): Pay attention to line breaks. Add new lines between imports and JSON object keys where appropriate. ESLint rules regarding newlines must be strictly followed.

Tooling & Checks

  1. ESLint Validation: Habitually run yarn run eslint --fix <file> or yarn run eslint <file> after making code edits to ensure strict ESLint compliance.
  2. TypeScript Validation: Habitually check and respect TypeScript compiler errors (e.g., using tsc or IDE feedback). Do not ignore any or strict typing constraints.

Behavior

Always follow these rules by default. Pay "extreme attention" (aşırı dikkat) to the sorting rules, ESLint, and TS constraints during modifications.