You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-config-abbot-nuxt3

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-abbot-nuxt3

this eslint rule is for vue3, nuxt3, typescript

0.1.3
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint-Config-abbot-nuxt3

eslint-config-abbot-nuxt3

⚠️Before You Install This

This ESlint rules is for abbot nuxt3 and TS project.

Installation

npm i --save-dev eslint eslint-config-abbot-nuxt3
# or if you're using yarn
yarn add -D eslint eslint-config-abbot-nuxt3

Usage

In your eslintrc file you can extend like this

module.exports = {
  extends: ["abbot-nuxt3"],
};

The ESLint rules that I used here

 rules: {
    "import/default": ["off"],
    "no-irregular-whitespace": ["off"],
    "no-var": ["warn"],
    camelcase: ["off"],
    "prettier/prettier": [
      "error",
      {
        singleQuote: false,
      },
    ],
    "vue/block-lang": [
      "error",
      {
        script: {
          lang: "ts",
        },
      },
    ],
    "vue/block-order": [
      "error",
      {
        order: ["template", "script", "style"],
      },
    ],
    "vue/component-api-style": [
      "error",
      ["composition", "options"], // "script-setup", "composition", "composition-vue2", or "options"
    ],
    "vue/component-name-in-template-casing": [
      "error",
      "kebab-case",
      {
        registeredComponentsOnly: false,
        ignores: [],
      },
    ],
    "vue/component-options-name-casing": [
      "error",
      "PascalCase", // "PascalCase" | "kebab-case" | "camelCase"
    ],
    "vue/custom-event-name-casing": [
      "error",
      "kebab-case", // "PascalCase" | "kebab-case" | "camelCase"
      {
        ignores: [],
      },
    ],
    "vue/prop-name-casing": ["error", "camelCase"], // "camelCase" | "snake_case"
    "vue/attributes-order": ["warn"],
    "vue/padding-line-between-blocks": ["error", "always"],
    "vue/no-v-model-argument": ["off"],
  },

FAQs

Package last updated on 08 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.