2.0.1 • Published 5 years ago

eslint-config-airbnb-vue v2.0.1

Weekly downloads
482
License
ISC
Repository
github
Last release
5 years ago

Airbnb Vue - ESLint With VUE && Prettier

travis npm downloads

Install

npm install eslint-config-airbnb-vue

Usage

The config is based on eslint-config-airbnb-base and eslint-plugin-vue and eslint-config-prettier.

Then, add this to your .eslintrc file:

{
  "extends": ["airbnb-vue"]
}

Tip: to check your .vue/.html/.js,you need to edit your editor's perference. Eg. in my vs:

"eslint.autoFixOnSave": true,  //  启用保存时自动修复,默认只支持.js文件
"eslint.validate": [
  "javascript",  //  用eslint的规则检测js文件
  {
    "language": "vue",   // 检测vue文件
    "autoFix": true   //  为vue文件开启保存自动修复的功能
  },
  {
    "language": "html",
    "autoFix": true
  },
],

Docs

doc.md

Learn more

For the full listing of rules, editor plugins, FAQs, and more, visit the main Airbnb JavaScript Style repo. Airbnb Vue Style repo. Airbnb Prettier repo.

License

MIT

2.0.1

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago