Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
refactor(find): Use new eslint getRules() api #237
Breaking change: Requires eslint >= 3.12.0
Starting with version 3.12.0, eslint provides a getRules() API that allows us to directly access the rules rather than trying to load them from the file system. This is cleaner, eliminates a dependency on the internal structure of the eslint codebase.
Note that eslint returns a
We are not yet using the rule objects themselves, so the test stubs just return empty objects for now.
@@ Coverage Diff @@ ## master #237 +/- ## ===================================== Coverage 100% 100% ===================================== Files 9 9 Lines 216 209 -7 ===================================== - Hits 216 209 -7