title |
---|
no-restricted-syntax |
This file contains rule example code with syntax errors.
::: incorrect { "sourceType": "script" }
export default "foo";
:::
:::correct
const foo = "bar";
const foo = "baz";
:::
:::correct
/* eslint another-rule: error */
:::