mirror of
https://github.com/artiemis/artemis.js.git
synced 2026-02-14 10:21:54 +00:00
20 lines
523 B
JavaScript
20 lines
523 B
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
export default tseslint.config(
|
|
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",
|
|
},
|
|
}
|
|
);
|