mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-21 01:56:47 +00:00
Add rules reader
This commit is contained in:
parent
a9a064dfa1
commit
ed407c8427
9 changed files with 11065 additions and 1361 deletions
23
rules.yaml
Normal file
23
rules.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Global rules that apply to all files/directories unless overridden
|
||||
global: []
|
||||
|
||||
# Rules for specific file extensions
|
||||
extensions:
|
||||
[".ts", ".js"]: ["Always use export default"]
|
||||
"tsx": ["Always use arrow functions"]
|
||||
|
||||
# Rules for specific directories
|
||||
directories:
|
||||
"src/**": []
|
||||
|
||||
# Paths to ignore completely
|
||||
ignore:
|
||||
- ".git"
|
||||
- "node_modules"
|
||||
- "dist"
|
||||
- "build"
|
||||
- "_build"
|
||||
- "csv"
|
||||
- "json"
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue