Skip to content

Conversation

Joon1313
Copy link

Many people like to use the @vue/eslint-config-airbnb rule
Allowed to be added when prompt is selected

image

.eslintrc.cjs

/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
  root: true,
  'extends': [
    'plugin:vue/vue3-essential',
    'eslint:recommended',
    '@vue/eslint-config-typescript',
    '@vue/eslint-config-airbnb'
  ],
  rules: {
    'linebreak-style': 0,
    semi: 0
  },
  parserOptions: {
    ecmaVersion: 'latest'
  }
}

package.json

  "devDependencies": {
    "@vitejs/plugin-vue": "^4.0.0",
    "@vue/eslint-config-airbnb": "^7.0.0", // Added when prompt option is selected
    "eslint": "^8.22.0",
    "eslint-plugin-vue": "^9.3.0",
    "vite": "^4.0.0"
  }

@haoqunjiang
Copy link
Member

Closing for the reasons stated at #82 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants