Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

fix(ruleLoader): resolve rule files using node path resolution #3108

Merged
merged 1 commit into from
Aug 9, 2017

Commits on Aug 9, 2017

  1. fix(ruleLoader): resolve rule files using node path resolution

    Custom rule files are no longer being loaded with a hardcoded/fixed extenson (`.js`).
    
    With this change all rule files will be resolved using Nodes path resolution. This means that the extension will be detected automatically and other extension loaders like `ts-node` can be used.
    
    This means that rules can be also written in TypeScript and loaded through TS-Node.
    devversion committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    ac66621 View commit details
    Browse the repository at this point in the history