UNPKG

eslint-config-scratch

Version:
16 lines (12 loc) 282 B
import { ESLint } from 'eslint' // foo isn't used function foo() { const eslint = new ESLint({ overrideConfigFile: true, }) return eslint } // React isn't allowed in plain JS export const myElement = <div>{'hello'}</div> // foo2 isn't defined export const bar = foo2()