mirror of
https://github.com/artiemis/artemis.js.git
synced 2026-02-14 10:21:54 +00:00
23 lines
548 B
JavaScript
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/"],
|
|
},
|
|
];
|