UNPKG

@sylphlab/eslint-config-sylph

Version:

Strict, opinionated ESLint Flat Config for modern TypeScript projects (v9+, TS, Unicorn, Functional, Security, Sonar, Import, Promise, Regexp, Prettier).

19 lines (17 loc) 912 B
/** * Sylph ESLint Configuration (Flat Config) - AI-Focused Strict Revision * * A very strict configuration optimized for AI-assisted development, consistency, and rigor. * Targets: Bun/Vitest/TSUP/Turborepo, Node 22, TypeScript 5+, ESLint 9+, Prettier 3+ * Emphasizes: Strict LOC/Complexity (error), Explicitness (error on any), Immutability (error), * Filename Consistency (error), Security, Bug Detection. * * NOTE: This strictness (especially LOC limits as errors) aims to force code splitting * beneficial for AI context limits, but may require significant refactoring effort * from human developers. Evaluate if this trade-off is acceptable. * * NOTE: eslint-plugin-functional is included for immutability/no-throw but remains * highly opinionated; consider removal if FP adherence is not a strong team priority. */ declare const sylph: any[]; export { sylph as default, sylph };