Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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)