Skip to content

Commit 0848092

Browse files
committed
Extract to ember-estree
1 parent 4b89849 commit 0848092

5 files changed

Lines changed: 16 additions & 471 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@glimmer/syntax": ">= 0.92.0",
3636
"@typescript-eslint/tsconfig-utils": "^8.38.0",
3737
"content-tag": "^4.1.0",
38+
"ember-estree": "link:../ember-estree",
3839
"eslint-scope": "^9.1.1",
3940
"html-tags": "^5.1.0",
4041
"mathml-tag-names": "^4.0.0",

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/parser/hbs-parser.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import * as eslintScope from 'eslint-scope';
2-
import DocumentLines from '../utils/document.js';
3-
import { processGlimmerTemplate, buildGlimmerVisitorKeys } from './transforms.js';
2+
import { processGlimmerTemplate, buildGlimmerVisitorKeys, DocumentLines } from 'ember-estree';
43

54
// Constant: Program + all Glimmer node types. Computed once at module load.
65
const hbsVisitorKeys = { Program: ['body'], ...buildGlimmerVisitorKeys() };

0 commit comments

Comments
 (0)