Globals Vitest - autogenerated Vitest globals that are always up-to-date! ⏰
Getting Started
·
File an Issue
·
Have a question or an idea?
Tiny library that provides you with Vitest globals.
Autogenerated based directly on the Vitest package - it's always in sync!
Tiny package size - no sub-dependencies
Supports ESLint Flat Config format
Published under MIT license
Quick start
Installation
npm install --save-dev globals-vitest
yarn add -D globals-vitest
pnpm add -D globals-vitest
Usage (Flat Config)
// eslint.config.js
import globalsVitest from 'globals-vitest';
export default [
{
languageOptions: {
globals: {
...globalsVitest,
},
},
},
];
For more information about globals configuration in ESLint, please consult the documentation.
Questions
Don’t hesitate to ask a question directly on the discussions board!
Changelog
Changes for every release are documented in the release notes and CHANGELOG file.
License
Copyright (c) 2024-present, Jakub FRS Freisler, FRSOURCE