npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@skagerakenergi/eslint-config-vue3-ts

v2.1.0

Published

ESLint configuration for Vue 3 and TypeScript projects

Downloads

107

Readme

eslint-config-vue3-ts

npm version GitHub license

Installation

The default export contains all default ESLint rules for Vue3 TypeScript, including the recommended ruleset for Vue, the opinionated recommended ruleset for TypeScript and the ones listed in the rules section.

Install the package with:

npm install --dev @skagerakenergi/eslint-config-vue3-ts

Usage

Now add the config to your eslint.config.ts file:

import skagerakConfig from '@skagerakenergi/eslint-config-vue3-ts'

export default [...skagerakConfig]

Configuration Details

This configuration includes the following key features and rule overrides:

Base Configurations:

  • Vue.js recommended rules - Complete ruleset for Vue 3 development
  • TypeScript recommended rules - Opinionated TypeScript linting with type checking
  • Vue Accessibility rules - Ensures accessible Vue components
  • Prettier integration - Disables conflicting formatting rules

Vue-specific Rule Overrides:

  • Component naming - Multi-word component names not required (vue/multi-word-component-names: off)
  • Block order enforcement - Script, template, style block ordering (vue/block-order)
  • Type-based declarations - Enforces type-based props and emits definitions
  • Typed refs - Requires typed refs for better type safety (vue/require-typed-ref)
  • Object spacing - Enforces spaces in object literals ({ foo: bar })
  • No empty blocks - Prevents empty component blocks
  • Reactivity safety - Prevents ref object reactivity loss

File Targeting:

  • TypeScript and Vue files - **/*.{ts,mts,tsx,vue}
  • Test file integration - Vitest plugin for test files in src/**/__tests__/*
  • Global ignores - Excludes dist/, dist-ssr/, coverage/ directories

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • eslint 9 and flat config
  • vue.js 3 and/or node environment
  • browser and/or node environment
  • vite
  • TypeScript

Despite some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.

Use with Vitest

// eslint.config.ts
import skagerakConfig from '@skagerakenergi/eslint-config-vue3-ts'
import pluginVitest from '@vitest/eslint-plugin'

export default [
  ...skagerakConfig,
  {
    name: 'Vitest',
    ...pluginVitest.configs.recommended,
    files: ['src/**/__tests__/*']
  },
  {
    rules: {
      // your custom overrides here
    }
  }
]