Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egoist/eslint-config-vue-app
ESLint configuration for Vue.js app (extends from @sindresorhus / xo)
https://github.com/egoist/eslint-config-vue-app
eslint vbuild vue
Last synced: 14 days ago
JSON representation
ESLint configuration for Vue.js app (extends from @sindresorhus / xo)
- Host: GitHub
- URL: https://github.com/egoist/eslint-config-vue-app
- Owner: egoist
- License: mit
- Created: 2017-02-15T08:43:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T14:48:27.000Z (almost 3 years ago)
- Last Synced: 2024-10-03T14:22:24.096Z (about 1 month ago)
- Topics: eslint, vbuild, vue
- Language: JavaScript
- Homepage:
- Size: 35.2 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-vue-app
[![NPM version](https://img.shields.io/npm/v/eslint-config-vue-app.svg?style=flat)](https://npmjs.com/package/eslint-config-vue-app) [![NPM downloads](https://img.shields.io/npm/dm/eslint-config-vue-app.svg?style=flat)](https://npmjs.com/package/eslint-config-vue-app) [![Build Status](https://img.shields.io/circleci/project/egoist/eslint-config-vue-app/master.svg?style=flat)](https://circleci.com/gh/egoist/eslint-config-vue-app) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/egoist/donate)
You will like this config if you use [XO](https://github.com/sindresorhus/xo).
## Features
- Indent with 2 spaces
- Enforce ES2015+ coding style
- [Basic JSX support](https://github.com/vuejs/eslint-plugin-vue)
- Using `babel-eslint` to support [dynamic import](https://webpack.js.org/guides/code-splitting-import/), etc.## Install
```bash
yarn add eslint-config-vue-app --dev
```## Usage
```js
{
"extends": "vue-app"
}
```This is also the default ESLint config in [vbuild](https://github.com/egoist/vbuild).
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## Author
**eslint-config-vue-app** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
Authored and maintained by egoist with help from contributors ([list](https://github.com/egoist/eslint-config-vue-app/contributors)).> [egoistian.com](https://egoistian.com) · GitHub [@egoist](https://github.com/egoist) · Twitter [@rem_rin_rin](https://twitter.com/rem_rin_rin)