Skip to content

Commit cfc70cf

Browse files
committed
Update for htm
1 parent 51535da commit cfc70cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/code-analyzer-eslint-engine/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const DEFAULT_CONFIG: ESLintEngineConfig = {
6767
file_extensions: {
6868
javascript: ['.js', '.cjs', '.mjs'],
6969
typescript: ['.ts'],
70-
html: ['.html', '.cmp'],
70+
html: ['.html', '.htm', '.cmp'],
7171
other: []
7272
},
7373
config_root: process.cwd() // INTERNAL USE ONLY

packages/code-analyzer-eslint-engine/test/engine.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ describe('Tests for emitting events', () => {
797797
await engine.describeRules(createDescribeOptions());
798798
// TODO: We should make our DescribeRulesProgressEvents more refined while calculating the eslint context information
799799
expect(describeRulesProgressEvents.map(e => e.percentComplete)).toEqual(
800-
[0, 10, 14, 18, 28, 38, 48, 58, 68, 78, 82, 86, 90, 95, 100]);
800+
[0, 10, 14, 18, 26.57, 35.14, 43.71, 52.29, 60.86, 69.43, 78, 82, 86, 90, 95, 100]);
801801
});
802802

803803
it('When runRules is called, then it emits correct progress events', async () => {

0 commit comments

Comments
 (0)