Skip to content

fhelwanger/eslint-globals-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-globals-test

This repo was created to test if eslint would complain about using methods like setTimeout without window. prefix when the env browser: false.

This repo is related to this facebook/create-react-app#1840

How to test

yarn
yarn run lint

Expected result

   5:1   error  'fetch' is not defined         no-undef
   9:20  error  'Worker' is not defined        no-undef
  12:1   error  'localStorage' is not defined  no-undef

✖ 3 problems (3 errors, 0 warnings)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published