(filepath: string)
| 237 | |
| 238 | // load rule |
| 239 | function loadRule(filepath: string) { |
| 240 | filepath = resolve(filepath) |
| 241 | try { |
| 242 | const module = require(filepath) |
| 243 | module(HTMLHint) |
| 244 | } catch (e) { |
| 245 | // ignore |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | // hint all files |
| 250 | function hintAllFiles( |