@yoyoys/eslint-config-vue-typescript-prettier-airbnb
my vue lint config for airbnb, prettier, typescript
Last updated 2 months ago by yoyoys .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @yoyoys/eslint-config-vue-typescript-prettier-airbnb 
SYNC missed versions from official npm registry.

@yoyoys/eslint-config-vue-typescript-prettier-airbnb

This preset is for @vue/cli 4.2.2 or above, other version is untested.

installation

  1. vue create your-app
  • make sure that you have selected typescript.
  1. Install following dependency:
  "@vue/cli-plugin-eslint": "^4.2.2",
  "eslint": "^6.8.0",
  "eslint-plugin-vue": "^6.2.0",
  "typescript": "^3.7.5"
  1. npm i -D @yoyoys/eslint-config-vue-typescript-prettier-airbnb

example config file

.eslintrc.js

module.exports = {
  root: true,
  env: {
    node: true,
  },
  parser: 'vue-eslint-parser',
  parserOptions: {
    project: ['./tsconfig.json'],
  },
  extends: [
    '@yoyoys/vue-typescript-prettier-airbnb',
  ],
};

tsconfig.json

{
  ...
  "include": [
    "./*.js",
    "./.*.js",
    ....
  ]
}

Current Tags

  • 2.3.2                                ...           latest (2 months ago)
  • 2.0.0-rc6                                ...           next (5 months ago)

17 Versions

  • 2.3.2                                ...           2 months ago
  • 2.3.1                                ...           3 months ago
  • 2.2.0                                ...           4 months ago
  • 2.1.0                                ...           5 months ago
  • 2.0.1                                ...           5 months ago
  • 2.0.0-rc6                                ...           5 months ago
  • 2.0.0-rc5                                ...           5 months ago
  • 2.0.0-rc4                                ...           5 months ago
  • 2.0.0-rc3                                ...           5 months ago
  • 2.0.0-rc2                                ...           5 months ago
  • 2.0.0-rc1                                ...           5 months ago
  • 1.3.1                                ...           10 months ago
  • 1.3.0                                ...           10 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |