Configure review instructions for CodeAnt AI
.codeant
folder in your repository root (same level as your .git
folder):
.codeant
folder, create an instructions.json
file with your custom review instructions.
instructions.json
file uses the following structure:
Pattern | Description |
---|---|
**/*.js | All JavaScript files in any directory |
src/**/*.ts | All TypeScript files in src directory and subdirectories |
*.test.js | Test files in root directory only |
**/*.{js,ts,jsx,tsx} | All JavaScript/TypeScript files |
!**/node_modules/** | Exclude node_modules directory |
components/**/*.vue | All Vue files in components directory |
**/*.spec.{js,ts} | All spec test files |
instructions.json
file, CodeAnt will automatically apply these custom instructions during the next code review.