2025-12-10 21:19:37 +01:00
|
|
|
// @ts-check
|
2025-10-15 21:45:59 +02:00
|
|
|
import js from "@eslint/js";
|
2025-12-10 21:19:37 +01:00
|
|
|
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
|
|
|
|
|
import roblox from "eslint-plugin-roblox-ts";
|
|
|
|
|
import { defineConfig } from "eslint/config";
|
|
|
|
|
import ts from "typescript-eslint";
|
2025-10-15 21:45:59 +02:00
|
|
|
|
2025-12-10 21:19:37 +01:00
|
|
|
export default defineConfig(
|
|
|
|
|
js.configs.recommended,
|
|
|
|
|
ts.configs.recommended,
|
|
|
|
|
roblox.configs.recommended,
|
|
|
|
|
eslintPluginPrettierRecommended,
|
2025-10-15 21:45:59 +02:00
|
|
|
{
|
|
|
|
|
rules: {
|
|
|
|
|
"prettier/prettier": "warn",
|
2025-12-10 21:19:37 +01:00
|
|
|
"@typescript-eslint/no-unused-vars": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
varsIgnorePattern: "^[A-Z].*(Service|Controller|Component)$",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
"@typescript-eslint/no-empty-object-type": "off",
|
2025-10-15 21:45:59 +02:00
|
|
|
},
|
|
|
|
|
},
|
2025-12-10 21:19:37 +01:00
|
|
|
);
|