Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 398 Bytes

bad-examples.md

File metadata and controls

34 lines (23 loc) · 398 Bytes
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 */

:::