/eslint-config-vue-composition

Linting rules not present in common Vue linting packages

Primary LanguageJavaScript

eslint-config-vue-composition

This package includes instructions that are not added to the general linting package: "plugin:vue/essential", "plugin:vue/strongly-recommended" and "plugin:vue/recommended"

Important

Not for Nuxt

Dependencies

  • @typescript-eslint/eslint-plugin: ^6.7.2
  • @typescript-eslint/parser: ^6.7.2
  • @vue/eslint-config-typescript: ^12.0.0
  • eslint-plugin-vue: ^9.16.1

DevDependencies

  • eslint: ^8.50.0
  • typescript: ~5.2.2

PeerDependencies

  • eslint: >= 8.50.0
  • typescript: >= 5.0.0

Install

  • NPM: npm install -D @rocksodevelopment/eslint-config-vue-composition
  • PNPM: pnpm add -D @rocksodevelopment/eslint-config-vue-composition

Usage

  // .my-eslintrc.cjs

  module.exports = {
    extends: ["@rocksodevelopment/eslint-config-vue-composition"]
  }