import { TSESLint } from '@typescript-eslint/experimental-utils' ; import { mechanics } from './mechanics' ; import { circularDeps } from './circular-deps' ; import { readme } from './readme' ; interface IPlugin { rules : { [ ruleName ] : TSESLint . RuleModule < string , unknown [ ] > ; } ; configs : { [ ruleName ] : any ; } ; } const plugin = { rules : { mechanics : mechanics , 'circular-deps' : circularDeps , readme : readme } , configs : { recommended : { plugins : [ '@rushstack/eslint-plugin-packlets' ] , rules : { '@rushstack/packlets/mechanics' : 'warn' , '@rushstack/packlets/circular-deps' : 'warn' , '@rushstack/packlets/readme' : 'off' } } } } ; export = plugin ;