Skip to content

Commit deedd7a

Browse files
authored
Update readme (#244)
1 parent c022b7d commit deedd7a

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

Diff for: README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
> Official ESLint plugin for Vue.js
88
9-
## :exclamation: Attention - this is documentation for beta `3.0.0` :exclamation:
9+
## :exclamation: Attention - this is documentation for version `4.x` :exclamation:
1010

11-
This branch contains `eslint-plugin-vue@beta` which is pre-released `3.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `"eslint-plugin-vue": "beta"` in `package.json` or do `npm install eslint-plugin-vue@beta`.
11+
This branch contains `eslint-plugin-vue@next` which is a pre-released `4.0`, but it's not the default version that you get with `npm install eslint-plugin-vue`. In order to install this you need to specify either `"eslint-plugin-vue": "next"` in `package.json` or do `npm install eslint-plugin-vue@next`.
1212

13-
Please try it and report any issues that you might experience.
13+
Please try it and report any issues that you might have encountered.
1414

1515
If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases).
1616

@@ -22,7 +22,7 @@ If you want to check previous releases [go here](https://github.com/vuejs/eslint
2222
## :cd: Installation
2323

2424
```bash
25-
npm install --save-dev eslint eslint-plugin-vue@beta
25+
npm install --save-dev eslint eslint-plugin-vue@next
2626
```
2727

2828
## :rocket: Usage
@@ -206,6 +206,15 @@ If you already use other parser (e.g. `"parser": "babel-eslint"`), please move i
206206

207207
The `vue-eslint-parser` uses the parser which is set by `parserOptions.parser` to parse scripts.
208208

209+
### Can my javascript code have increased indentation?
210+
211+
It depends on the version of eslint you're using.
212+
213+
[indent](https://eslint.org/docs/rules/indent) rule in `[email protected]` makes it possible, but if you use `[email protected]` be aware that this rule has been rewritten and is more strict now, thus it doesn't allow to have increased initial indentation.
214+
215+
You can however use [indent-legacy](https://eslint.org/docs/rules/indent-legacy) rule instead.
216+
More informations [here](https://eslint.org/docs/user-guide/migrating-to-4.0.0#indent-rewrite).
217+
209218
## :anchor: Semantic Versioning Policy
210219

211220
This plugin follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).

0 commit comments

Comments
 (0)