packages/autorest.gotest/eslint.config.js (30 lines of code) (raw):

// @ts-check import eslint from "@eslint/js"; import tsEslint from "typescript-eslint"; export default tsEslint.config( { files: ['src/**/*.ts', 'test/**/*.ts'], extends: [ eslint.configs.recommended, ...tsEslint.configs.recommended, ], rules: { '@typescript-eslint/no-base-to-string': 'off', '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-floating-promises': 'off', '@typescript-eslint/no-require-imports': 'off', '@typescript-eslint/no-unnecessary-type-assertion': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-call': 'off', '@typescript-eslint/no-unsafe-declaration-merging': 'off', '@typescript-eslint/no-unsafe-enum-comparison': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/restrict-template-expressions': 'off', }, }, { ignores: ["dist/**/*"], } );