Files
LiveSplitOne/eslint.config.mjs
Christopher Serr 51b91ac421 Update SASS (#1003)
The way importing works changed. Fortunately, they have a nice migration
tool that helped convert all the files.
2025-02-12 17:00:04 +00:00

32 lines
991 B
JavaScript

import tseslint from "typescript-eslint";
export default tseslint.config({
ignores: ["src/livesplit-core/**", "src/type-definitions/**"],
extends: tseslint.configs.recommendedTypeChecked,
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
},
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
});