diff --git a/tests/fixtures/rules/valid-context-access/invalid/case07-errors.yaml b/tests/fixtures/rules/valid-context-access/invalid/case07-errors.yaml new file mode 100644 index 000000000..5702a7bed --- /dev/null +++ b/tests/fixtures/rules/valid-context-access/invalid/case07-errors.yaml @@ -0,0 +1,3 @@ +- message: Do not call hasContext except during component initialization. + line: 5 + column: 9 diff --git a/tests/fixtures/rules/valid-context-access/invalid/case07-input.svelte b/tests/fixtures/rules/valid-context-access/invalid/case07-input.svelte new file mode 100644 index 000000000..5484f2dc9 --- /dev/null +++ b/tests/fixtures/rules/valid-context-access/invalid/case07-input.svelte @@ -0,0 +1,9 @@ +