artemis.js/eslint.config.mjs
2025-02-08 16:31:07 +01:00

23 lines
548 B
JavaScript

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
export default [
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.strict,
{
rules: {
"no-empty": ["error", { allowEmptyCatch: true }],
"@typescript-eslint/no-unused-vars": [
"error",
{ varsIgnorePattern: "_", argsIgnorePattern: "_" },
],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
},
},
{
ignores: ["dist/"],
},
];