(sourceFile: ts.SourceFile, options: Lint.IOptions)
| 24 | }; |
| 25 | |
| 26 | constructor(sourceFile: ts.SourceFile, options: Lint.IOptions) { |
| 27 | super(sourceFile, options); |
| 28 | |
| 29 | const args = options.ruleArguments[0] || {}; |
| 30 | |
| 31 | this._config = Object.keys(args).reduce( |
| 32 | (config, key) => { |
| 33 | config[key] = new RegExp(args[key]); |
| 34 | return config; |
| 35 | }, |
| 36 | {} as {[key: string]: RegExp}, |
| 37 | ); |
| 38 | } |
| 39 | |
| 40 | override visitClassDeclaration(node: ts.ClassDeclaration) { |
| 41 | node.members.forEach(member => { |
nothing calls this directly
no outgoing calls
no test coverage detected