You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-4
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@
6
6
7
7
> Official ESLint plugin for Vue.js
8
8
9
-
## :exclamation: Attention - this is documentation for beta `3.0.0`:exclamation:
9
+
## :exclamation: Attention - this is documentation for version `4.x`:exclamation:
10
10
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`.
12
12
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.
14
14
15
15
If you want to check previous releases [go here](https://github.com/vuejs/eslint-plugin-vue/releases).
16
16
@@ -22,7 +22,7 @@ If you want to check previous releases [go here](https://github.com/vuejs/eslint
@@ -206,6 +206,15 @@ If you already use other parser (e.g. `"parser": "babel-eslint"`), please move i
206
206
207
207
The `vue-eslint-parser` uses the parser which is set by `parserOptions.parser` to parse scripts.
208
208
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
+
209
218
## :anchor: Semantic Versioning Policy
210
219
211
220
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