Do not allow global variables to be redefined!!! #5207
cyhnkckali
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Biome js-api has keywords that I have defined globally. I can redefine or assign these keywords in the code. Linter does not give a return for this.
Is there any way to prevent this?
`
import { Biome, Distribution } from '@biomejs/js-api';
const GLOBALLIST = [ 'Wait','Run']
const biome= await Biome.create({distribution: Distribution.NODE })
Beta Was this translation helpful? Give feedback.
All reactions