/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { Linter } from "eslint"; import { recommended } from "@fluidframework/eslint-config-fluid/flat.mts"; const config: Linter.Config[] = [ ...recommended, { rules: { "@typescript-eslint/consistent-type-exports": "off", "@typescript-eslint/consistent-type-imports": "off", "@typescript-eslint/explicit-module-boundary-types": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-unsafe-assignment": "off", "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/strict-boolean-expressions": "off", "no-void": "off", "unicorn/explicit-length-check": "off", "unicorn/no-array-for-each": "off", "unicorn/no-null": "off", "unicorn/prefer-logical-operator-over-ternary": "off", "unicorn/prefer-node-protocol": "off", "unicorn/prefer-spread": "off", "unicorn/switch-case-braces": "off", }, }, { files: ["src/test/**"], rules: { "import-x/no-nodejs-modules": "off", }, }, ]; export default config;