diff --git a/src/api.ts b/src/api.ts index c6265413..5b17df85 100644 --- a/src/api.ts +++ b/src/api.ts @@ -9,3 +9,5 @@ export {LinterResult} from './linter/linter'; export {PackageJsonFileLintingResult} from './types/package-json-linting-result'; export {PackageJsonFileAggregatedResultCounts, OverallAggregatedResultCounts} from './linter/results-helper'; + +export {Rules, Rule} from './native-rules'; diff --git a/test/unit/api.test.ts b/test/unit/api.test.ts index 8ff505c8..a8fd95dc 100644 --- a/test/unit/api.test.ts +++ b/test/unit/api.test.ts @@ -34,4 +34,8 @@ describe('api Unit Tests', () => { test('OverallAggregatedResultCounts should be exported', () => { expect(api).not.toHaveProperty('OverallAggregatedResultCounts'); }); + + test('Rules should be exported', () => { + expect(api).toHaveProperty('Rules'); + }); });