eslint magic
Some checks failed
CI / Test (pull_request) Failing after 17s

This commit is contained in:
2025-07-15 20:59:10 +02:00
parent ab11063884
commit d249cb4ae9
4 changed files with 26 additions and 70 deletions

View File

@@ -8,10 +8,19 @@ import tsPlugin from "typescript-eslint";
/** @type {import('eslint').Linter.Config[]} */
export default [
{
ignores: [
"node_modules/**",
"dist/**",
"build/**",
"coverage/**",
"*.min.js",
"src/gen/**", // Exclude generated API files
],
},
securityPlugin.configs.recommended,
{
files: ["**/*.ts"],
ignores: ["src/gen/**"],
files: ["src/**/*.ts"],
},
{
languageOptions: { globals: globals.node },
@@ -60,16 +69,7 @@ export default [
"import/order": [
"error",
{
groups: [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index",
"object",
"type",
],
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"],
"newlines-between": "always",
alphabetize: {
order: "asc",