File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 4
4
export const name = "w3c/defaults" ;
5
5
import { rule as checkInternalSlots } from "../core/linter-rules/check-internal-slots" ;
6
6
import { rule as checkPunctuation } from "../core/linter-rules/check-punctuation" ;
7
+ import { definitionMap } from "../core/dfn-map" ;
7
8
import linter from "../core/linter" ;
8
9
import { rule as localRefsExist } from "../core/linter-rules/local-refs-exist" ;
9
10
import { rule as noHeadinglessSectionsRule } from "../core/linter-rules/no-headingless-sections" ;
@@ -106,4 +107,9 @@ export function run(conf) {
106
107
} ) ;
107
108
//computed properties
108
109
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 } ) ;
109
115
}
You can’t perform that action at this time.
0 commit comments