All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 24s
- Front Controller Pattern mit public/index.php als Einstiegspunkt - Eigenes Routing (App\Core\Router) ohne externes Framework - Controller: HomeController, ImpressumController, DatenschutzController - Views mit gemeinsamem Layout (app/views/layouts/main.php) - PSR-4 Autoloading - Statische Assets nach public/ verschoben - Alte Dateien (index.php, impressum.html, datenschutz.html) geloescht - 301-Redirects fuer alte URLs - PHP 8.5 kompatibel - Apache DocumentRoot auf public/ gesetzt
31 lines
653 B
JavaScript
Executable File
31 lines
653 B
JavaScript
Executable File
const globals = require("globals");
|
|
const js = require("@eslint/js");
|
|
const prettierPlugin = require("eslint-plugin-prettier");
|
|
const prettierConfig = require("eslint-config-prettier");
|
|
|
|
module.exports = [
|
|
js.configs.recommended,
|
|
prettierConfig,
|
|
{
|
|
files: ["**/*.js"],
|
|
languageOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "script",
|
|
globals: {
|
|
...globals.browser,
|
|
},
|
|
},
|
|
plugins: {
|
|
prettier: prettierPlugin,
|
|
},
|
|
rules: {
|
|
"prettier/prettier": "error",
|
|
"no-unused-vars": "warn",
|
|
"no-undef": "warn",
|
|
},
|
|
},
|
|
{
|
|
ignores: ["node_modules/**", "**/*.min.js"],
|
|
},
|
|
];
|