mirror of
https://github.com/jetkvm/cloud-api.git
synced 2025-09-16 08:38:15 +00:00
This commit introduces validation for required environment variables, ensuring the application fails fast if any are missing. It also integrates ESLint with TypeScript support, adds new linting scripts, and updates development dependencies for improved code quality and consistency. Minor cleanup and type improvements are also included.
11 lines
278 B
JavaScript
11 lines
278 B
JavaScript
// @ts-check
|
|
|
|
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended, {
|
|
rules: {
|
|
"@typescript-eslint/no-unused-vars": ["warn", { caughtErrors: "none" }],
|
|
},
|
|
});
|