We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aecc7fd commit 52cb176Copy full SHA for 52cb176
src/api.ts
@@ -9,3 +9,5 @@ export {LinterResult} from './linter/linter';
9
export {PackageJsonFileLintingResult} from './types/package-json-linting-result';
10
11
export {PackageJsonFileAggregatedResultCounts, OverallAggregatedResultCounts} from './linter/results-helper';
12
+
13
+export {Rules, Rule} from './native-rules';
test/unit/api.test.ts
@@ -34,4 +34,8 @@ describe('api Unit Tests', () => {
34
test('OverallAggregatedResultCounts should be exported', () => {
35
expect(api).not.toHaveProperty('OverallAggregatedResultCounts');
36
});
37
38
+ test('Rules should be exported', () => {
39
+ expect(api).toHaveProperty('Rules');
40
+ });
41
0 commit comments