eslint.config.js (732B)
1 // @ts-check 2 3 import eslint from '@eslint/js'; 4 import tseslint from 'typescript-eslint'; 5 6 export default tseslint.config( 7 eslint.configs.recommended, 8 ...tseslint.configs.recommendedTypeChecked, 9 { 10 languageOptions: { 11 parserOptions: { 12 project: true, 13 tsconfigRootDir: import.meta.dirname, 14 }, 15 }, 16 }, 17 { 18 rules: { 19 // Matrix without very very loose types will never exist 20 "@typescript-eslint/no-unsafe-member-access": "off", 21 "@typescript-eslint/no-explicit-any": "off", 22 "@typescript-eslint/no-unsafe-assignment": "off", 23 "@typescript-eslint/no-unsafe-call": "off" 24 } 25 }, 26 );