eslint-config-prettier 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@typescript-eslint.js +2 -0
- package/CHANGELOG.md +13 -0
- package/README.md +5 -5
- package/package.json +10 -10
- package/vue.js +4 -0
package/@typescript-eslint.js
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
rules: {
|
|
5
|
+
"@typescript-eslint/func-call-spacing": "off",
|
|
5
6
|
"@typescript-eslint/indent": "off",
|
|
6
7
|
"@typescript-eslint/member-delimiter-style": "off",
|
|
7
8
|
"@typescript-eslint/no-extra-parens": "off",
|
|
9
|
+
"@typescript-eslint/semi": "off",
|
|
8
10
|
"@typescript-eslint/type-annotation-spacing": "off"
|
|
9
11
|
}
|
|
10
12
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
### Version 4.3.0 (2019-05-16)
|
|
2
|
+
|
|
3
|
+
- Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing],
|
|
4
|
+
[vue/block-spacing], [vue/brace-style] and [vue/comma-dangle].
|
|
5
|
+
- Added: New [@typescript-eslint/eslint-plugin] rules:
|
|
6
|
+
[@typescript-eslint/func-call-spacing] and [@typescript-eslint/semi].
|
|
7
|
+
|
|
1
8
|
### Version 4.2.0 (2019-04-25)
|
|
2
9
|
|
|
3
10
|
- Added: [@typescript-eslint/no-extra-parens]. Thanks to Keiichiro Amemiya
|
|
@@ -218,7 +225,9 @@
|
|
|
218
225
|
- Initial release.
|
|
219
226
|
|
|
220
227
|
[@typescript-eslint/eslint-plugin]: https://github.com/typescript-eslint/typescript-eslint
|
|
228
|
+
[@typescript-eslint/func-call-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/func-call-spacing.md
|
|
221
229
|
[@typescript-eslint/no-extra-parens]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md
|
|
230
|
+
[@typescript-eslint/semi]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/semi.md
|
|
222
231
|
[ESLint 4.0.0]: https://eslint.org/blog/2017/06/eslint-v4.0.0-released
|
|
223
232
|
[ESLint 4.6.0]: https://eslint.org/blog/2017/09/eslint-v4.6.0-released
|
|
224
233
|
[array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline
|
|
@@ -262,5 +271,9 @@
|
|
|
262
271
|
[semi-style]: https://eslint.org/docs/rules/semi-style
|
|
263
272
|
[switch-colon-spacing]: https://eslint.org/docs/rules/switch-colon-spacing
|
|
264
273
|
[template-tag-spacing]: https://eslint.org/docs/rules/template-tag-spacing
|
|
274
|
+
[vue/arrow-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/arrow-spacing.md
|
|
275
|
+
[vue/block-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/block-spacing.md
|
|
276
|
+
[vue/brace-style]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/brace-style.md
|
|
277
|
+
[vue/comma-dangle]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/comma-dangle.md
|
|
265
278
|
[vue/html-self-closing-special]: https://github.com/prettier/eslint-config-prettier/blob/d5e7af986221df5faedc12893d8dc3150a808693/README.md#vuehtml-self-closing
|
|
266
279
|
[vue/html-self-closing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md
|
package/README.md
CHANGED
|
@@ -767,14 +767,14 @@ eslint-config-prettier has been tested with:
|
|
|
767
767
|
- ESLint 5.16.0
|
|
768
768
|
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
|
|
769
769
|
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
|
|
770
|
-
- prettier 1.17.
|
|
771
|
-
- @typescript-eslint/eslint-plugin 1.
|
|
770
|
+
- prettier 1.17.1
|
|
771
|
+
- @typescript-eslint/eslint-plugin 1.9.0
|
|
772
772
|
- eslint-plugin-babel 5.3.0
|
|
773
|
-
- eslint-plugin-flowtype 3.
|
|
774
|
-
- eslint-plugin-react 7.
|
|
773
|
+
- eslint-plugin-flowtype 3.9.0
|
|
774
|
+
- eslint-plugin-react 7.13.0
|
|
775
775
|
- eslint-plugin-standard 4.0.0
|
|
776
776
|
- eslint-plugin-unicorn 8.0.2
|
|
777
|
-
- eslint-plugin-vue 5.
|
|
777
|
+
- eslint-plugin-vue 5.2.2
|
|
778
778
|
|
|
779
779
|
Have new rules been added since those versions? Have we missed any rules? Is
|
|
780
780
|
there a plugin you would like to see exclusions for? Open an issue or a pull
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-prettier",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Simon Lydell",
|
|
6
6
|
"description": "Turns off all rules that are unnecessary or might conflict with Prettier.",
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
"get-stdin": "^6.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "1.
|
|
42
|
-
"@typescript-eslint/parser": "1.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "1.9.0",
|
|
42
|
+
"@typescript-eslint/parser": "1.9.0",
|
|
43
43
|
"babel-eslint": "10.0.1",
|
|
44
44
|
"cross-spawn": "6.0.5",
|
|
45
45
|
"doctoc": "1.4.0",
|
|
46
46
|
"eslint": "5.16.0",
|
|
47
|
-
"eslint-config-google": "0.
|
|
47
|
+
"eslint-config-google": "0.13.0",
|
|
48
48
|
"eslint-plugin-babel": "5.3.0",
|
|
49
|
-
"eslint-plugin-flowtype": "3.
|
|
50
|
-
"eslint-plugin-prettier": "3.0
|
|
51
|
-
"eslint-plugin-react": "7.
|
|
49
|
+
"eslint-plugin-flowtype": "3.9.0",
|
|
50
|
+
"eslint-plugin-prettier": "3.1.0",
|
|
51
|
+
"eslint-plugin-react": "7.13.0",
|
|
52
52
|
"eslint-plugin-standard": "4.0.0",
|
|
53
53
|
"eslint-plugin-unicorn": "8.0.2",
|
|
54
|
-
"eslint-plugin-vue": "
|
|
55
|
-
"jest": "24.
|
|
56
|
-
"prettier": "1.17.
|
|
54
|
+
"eslint-plugin-vue": "5.2.2",
|
|
55
|
+
"jest": "24.8.0",
|
|
56
|
+
"prettier": "1.17.1",
|
|
57
57
|
"replace": "1.1.0",
|
|
58
58
|
"rimraf": "2.6.3",
|
|
59
59
|
"typescript": "3.4.5"
|
package/vue.js
CHANGED
|
@@ -5,6 +5,10 @@ module.exports = {
|
|
|
5
5
|
"vue/html-self-closing": 0,
|
|
6
6
|
|
|
7
7
|
"vue/array-bracket-spacing": "off",
|
|
8
|
+
"vue/arrow-spacing": "off",
|
|
9
|
+
"vue/block-spacing": "off",
|
|
10
|
+
"vue/brace-style": "off",
|
|
11
|
+
"vue/comma-dangle": "off",
|
|
8
12
|
"vue/html-closing-bracket-newline": "off",
|
|
9
13
|
"vue/html-closing-bracket-spacing": "off",
|
|
10
14
|
"vue/html-end-tags": "off",
|