File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 44export const name = "w3c/defaults" ;
55import { rule as checkInternalSlots } from "../core/linter-rules/check-internal-slots" ;
66import { rule as checkPunctuation } from "../core/linter-rules/check-punctuation" ;
7+ import { definitionMap } from "../core/dfn-map" ;
78import linter from "../core/linter" ;
89import { rule as localRefsExist } from "../core/linter-rules/local-refs-exist" ;
910import { rule as noHeadinglessSectionsRule } from "../core/linter-rules/no-headingless-sections" ;
@@ -106,4 +107,9 @@ export function run(conf) {
106107 } ) ;
107108 //computed properties
108109 Object . assign ( conf , computeProps ( conf ) ) ;
110+
111+ // TODO: eventually, we want to remove this.
112+ // It's here for legacy support of json-ld specs
113+ // see https://github.com/w3c/respec/issues/2019
114+ Object . assign ( conf , { definitionMap } ) ;
109115}
You can’t perform that action at this time.
0 commit comments