UNPKG

@fightmegg/riot-rate-limiter

Version:
26 lines (24 loc) 745 B
import eslint from "@eslint/js"; import tseslint from "typescript-eslint"; import prettierConfig from "eslint-config-prettier"; export default tseslint.config( eslint.configs.recommended, ...tseslint.configs.recommendedTypeChecked, prettierConfig, { languageOptions: { parserOptions: { project: true, tsconfigRootDir: import.meta.dirname, }, }, rules: { "@typescript-eslint/no-unsafe-assignment": "warn", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-unsafe-member-access": "warn", "@typescript-eslint/no-unsafe-return": "warn", "@typescript-eslint/no-unsafe-argument": "warn", "@typescript-eslint/no-unsafe-call": "warn", }, } );