{
    "extends": [
        "@yandex-travel/eslint-config/server",
        // Нужен для renderServer
        "plugin:react/jsx-runtime"
    ],
    "rules": {
        // Унаследованно от data-ui. Пока оставляем как ворнинг.
        // Постепенно заменяем на ошибки или делаем pr в eslint-config-data-ui.
        "security/detect-child-process": "warn",
        "security/detect-non-literal-require": "warn",
        "security/detect-non-literal-regexp": "warn",
        "security/detect-new-buffer": "warn",
        "security/detect-unsafe-regex": "warn"
    },
    "overrides": [
        {
            "files": ["*.ts", "*.tsx"],
            "rules": {
                "@typescript-eslint/explicit-function-return-type": [
                    "warn",
                    {
                        "allowTypedFunctionExpressions": true
                    }
                ]
            }
        }
    ]
}
