ESLint globals config

Get rid of ESLint errors with one line of code.

error  'vi' is not defined          no-undef
error  'describe' is not defined    no-undef
error  'beforeEach' is not defined  no-undef

Installation

$ npm install --dev eslint-config-vitest-globals
$ yarn add --dev eslint-config-vitest-globals

Usage

Simply include eslint-config-vitest-globals into your eslint configuration file:

"extends": ["eslint-config-vitest-globals"]

License

Released under the MIT License, http://opensource.org/licenses/MIT