Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [main, develop]
pull_request:
branches: [main]

jobs:
lint-and-test:
name: Lint & Unit Tests
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Format check (Prettier)
run: npm run format:check

- name: Lint (ESLint)
run: npm run lint

- name: Unit tests (Vitest)
run: npm test
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"semi": true,
"trailingComma": "all",
"printWidth": 100,
"arrowParens": "always"
}
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ImmoPilot
Immo-Pilot
Copyright 2026 Christopher Henkel

This product is licensed under the Apache License, Version 2.0.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Currently supported: **ImmobilienScout24** & **Kleinanzeigen** – more provider
- 🚫 **Blacklist** – per click or globally via keywords
- ❤️ **Favorites** – persisted even if the agent is deleted
- 🔄 **Scraping** – manual, on startup, or via cron; with pagination and duplicate filtering
- 🧩 **Provider system** – currently: Kleinanzeigen; more planned
- 🧩 **Provider system** – currently: **ImmobilienScout24** & **Kleinanzeigen**; more planned
- 🗄️ **Local** – SQLite

## Quickstart
Expand Down
24 changes: 24 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import js from '@eslint/js';
import globals from 'globals';
import prettierConfig from 'eslint-config-prettier';

export default [
js.configs.recommended,
prettierConfig,
{
languageOptions: {
globals: { ...globals.node },
ecmaVersion: 2022,
sourceType: 'module',
},
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
'no-console': 'off',
// Empty catch blocks are used intentionally throughout (fire-and-forget patterns)
'no-empty': ['error', { allowEmptyCatch: true }],
},
},
{
ignores: ['client/', 'public/', 'node_modules/', 'data/', 'reports/'],
},
];
Loading
Loading