Skip to content
Open
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
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Bug report
about: Report a defect
labels: bug
---

**Description**
**Steps to Reproduce**
**Expected / Actual**
Expand Down
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Feature request
about: Propose an enhancement
labels: enhancement
---

**Goal**
**Scope**
**Acceptance Criteria**

- [ ] ...
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## Purpose

## Changes

- ...

## Checks

- [ ] Lint ok
- [ ] Prettier ok
- [ ] Docs updated
4 changes: 2 additions & 2 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
printWidth: 100,
singleQuote: true,
trailingComma: "all",
trailingComma: 'all',
semi: true,
arrowParens: "always",
arrowParens: 'always',
};
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
</p>

Sesh is a mono-repo for managing PA/QV documentation.
It includes setup for **ESLint**, **Prettier**, **Husky hooks**, branching rules, GitHub workflows (CI/CD), and issue/PR templates.
It includes setup for **ESLint**, **Prettier**, **Husky hooks**, branching rules, GitHub workflows (CI/CD), and issue/PR templates.

This serves as the foundation for future implementations (React/Laravel) with Keycloak integration.
2 changes: 1 addition & 1 deletion apps/backend/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Here will be the backend
Here will be the backend
2 changes: 1 addition & 1 deletion apps/frontend/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Here will be the frontend
Here will be the frontend
1 change: 1 addition & 0 deletions docs/BRANCHING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Branching Rules

- Protected: main (PR only, squash, CI must pass)
- Names: feat/<topic>-<slug>, fix/<topic>-<slug>, chore/... docs/... ci/...
- PR: 1 review, lint & format green, short scope & checklist
50 changes: 25 additions & 25 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
const js = require("@eslint/js");
const tseslint = require("typescript-eslint");
const pluginImport = require("eslint-plugin-import");
const js = require('@eslint/js');
const tseslint = require('typescript-eslint');
const pluginImport = require('eslint-plugin-import');

module.exports = [
// Global ignores (auch Prettier-/ESLint-Configs)
{
ignores: [
"node_modules",
"dist",
"coverage",
"**/.eslintrc.*",
"**/.prettierrc.*",
"**/*.config.*",
".husky/**",
".github/**",
"docs/**"
'node_modules',
'dist',
'coverage',
'**/.eslintrc.*',
'**/.prettierrc.*',
'**/*.config.*',
'.husky/**',
'.github/**',
'docs/**',
],
},

Expand All @@ -23,26 +23,26 @@ module.exports = [

// Standard-Regeln für Code
{
files: ["**/*.{js,cjs,mjs,ts,tsx}"],
languageOptions: { ecmaVersion: "latest", sourceType: "module" },
files: ['**/*.{js,cjs,mjs,ts,tsx}'],
languageOptions: { ecmaVersion: 'latest', sourceType: 'module' },
plugins: { import: pluginImport },
rules: {
"import/order": ["warn", { "newlines-between": "always" }],
"no-console": "off",
"@typescript-eslint/no-require-imports": "off"
}
'import/order': ['warn', { 'newlines-between': 'always' }],
'no-console': 'off',
'@typescript-eslint/no-require-imports': 'off',
},
},

// Sonderfall: eigene Config-Dateien im CJS-Stil
{
files: ["eslint.config.cjs", "*.config.cjs", "*.config.js"],
files: ['eslint.config.cjs', '*.config.cjs', '*.config.js'],
languageOptions: {
ecmaVersion: "latest",
sourceType: "commonjs",
globals: { module: "writable", require: "writable" }
ecmaVersion: 'latest',
sourceType: 'commonjs',
globals: { module: 'writable', require: 'writable' },
},
rules: {
"@typescript-eslint/no-require-imports": "off"
}
}
'@typescript-eslint/no-require-imports': 'off',
},
},
];