UNPKG

@fluidframework/eslint-config-fluid

Version:

Shareable ESLint config for the Fluid Framework

26 lines (21 loc) 968 B
{ // This tsconfig is for IDE support only - the package doesn't compile TypeScript. // Scripts run via jiti which handles ESM/CJS interop automatically. "extends": "../build-common/tsconfig.base.json", "compilerOptions": { // Enable Node.js types - base config sets "types": [] which excludes all @types packages "types": ["node"], // Use modern module settings for ESM (.mts files) and jiti runtime // Differs from standard Node16 to allow flexible import syntax that jiti handles "module": "ESNext", "moduleResolution": "Bundler", // Skip checking node_modules to avoid ESLint plugin type compatibility issues "skipLibCheck": true, // This config is for IDE support only, not compilation "noEmit": true, "allowImportingTsExtensions": true, // ESLint plugin types violate this often which affects our own configs "exactOptionalPropertyTypes": false, }, "include": ["scripts/**/*", "library/**/*", "*.mts", "src/test/**/*.mts"], }