Commit 3359abf3 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: remove exit function from podcast:import command to allow for...

fix: remove exit function from podcast:import command to allow for episodes:compute-downloads to run

- update CI4 to v4.5.7
- update php and js dependencies to latest
- reconfigure lint-staged
parent 4b0c0d75
Loading
Loading
Loading
Loading
Loading

.eslintrc.json

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
{
  "env": {
    "browser": true,
    "es2020": true
  },
  "parser": "@typescript-eslint/parser",
  "plugins": ["@typescript-eslint"],
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:prettier/recommended"
  ],
  "parserOptions": {
    "ecmaVersion": 11,
    "sourceType": "module"
  },
  "rules": {}
}
+1 −2
Original line number Diff line number Diff line
@@ -69,10 +69,9 @@ lint-php:
lint-js:
  stage: quality
  script:
    - pnpm run prettier
    - pnpm run format
    - pnpm run typecheck
    - pnpm run lint
    - pnpm run lint:css
  dependencies:
    - js-dependencies

+3 −2
Original line number Diff line number Diff line
@@ -50,11 +50,12 @@ Events::on('pre_system', static function (): void {
     */
    if (CI_DEBUG && ! is_cli()) {
        Events::on('DBQuery', Database::class . '::collect');
        Services::toolbar()->respond();
        service('toolbar')
            ->respond();

        // Hot Reload route - for framework use on the hot reloader.
        if (ENVIRONMENT === 'development') {
            Services::routes()->get('__hot-reload', static function (): void {
            service('routes')->get('__hot-reload', static function (): void {
                (new HotReloader())->run();
            });
        }
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ class Filters extends BaseConfig
    /**
     * List of filter aliases that are always applied before and after every request.
     *
     * @var array<string, array<string, array<string, string|array<string>>>>>|array<string, list<string>>
     * @var array<string, array<string, array<string, string|array<string>>>>|array<string, list<string>>
     */
    public array $globals = [
        'before' => [
+1 −1
Original line number Diff line number Diff line
@@ -74,6 +74,6 @@ class Format extends BaseConfig
     */
    public function getFormatter(string $mime): FormatterInterface
    {
        return Services::format()->getFormatter($mime);
        return service('format')->getFormatter($mime);
    }
}
Loading