• 这笔修改体现了 env 和 global 的关系:

https://github.com/g8up/youDaoDict/commit/8b05616f

 

  • 官方文档表述:

https://eslint.org/docs/user-guide/configuring

    • Environments - which environments your script is designed to run in. Each environment brings with it a certain set of predefined global variables.
    • Globals - the additional global variables your script accesses during execution.

相关文章:

  • 2021-06-22
  • 2021-07-09
  • 2021-12-22
  • 2021-05-30
  • 2022-01-27
猜你喜欢
  • 2021-07-04
  • 2022-12-23
  • 2021-11-27
  • 2021-12-14
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案