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: about 2 months 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 8 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T14:48:27.000Z (over 3 years ago)
- Last Synced: 2025-03-31T02:22:17.288Z (3 months ago)
- Topics: eslint, vbuild, vue
- Language: JavaScript
- Homepage:
- Size: 35.2 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-vue-app
[](https://npmjs.com/package/eslint-config-vue-app) [](https://npmjs.com/package/eslint-config-vue-app) [](https://circleci.com/gh/egoist/eslint-config-vue-app) [](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)