dusk-network / eslint-config

⚙️ Dusk ESLint configuration
Mozilla Public License 2.0
3 stars 12 forks source link

Add eslint-plugin-vitest #32

Closed kieranhall closed 8 months ago

kieranhall commented 8 months ago

By adding a dependency to eslint-plugin-vitest, we can reduce our own overrides configuration in our projects that use Vitest for testing.

          Maybe we could add this to our [eslint config repo](https://github.com/dusk-network/eslint-config) as an additional config that we can import?

Originally posted by @ascartabelli in https://github.com/dusk-network/rusk/issues/1486#issuecomment-1972672278

kieranhall commented 8 months ago

Note that we also use Testing Library and may want to also look at this plugin for working with that.

kieranhall commented 8 months ago

Note that we also use Testing Library and may want to also look at this plugin for working with that.

The plugin is not providing a preset for working with Svelte yet. See: https://github.com/testing-library/eslint-plugin-testing-library/issues/80