Files

Return to Package Diff Home.
Brought to you by Intrinsic.

Package Diff: eslint-config-prettier @ 4.2.0 .. 4.3.0

CHANGELOG.md

@@ -1,3 +1,10 @@
+### Version 4.3.0 (2019-05-16)
+
+- Added: New [eslint-plugin-vue] rules: [vue/arrow-spacing],
+ [vue/block-spacing], [vue/brace-style] and [vue/comma-dangle].
+- Added: New [@typescript-eslint/eslint-plugin] rules:
+ [@typescript-eslint/func-call-spacing] and [@typescript-eslint/semi].
+
### Version 4.2.0 (2019-04-25)
- Added: [@typescript-eslint/no-extra-parens]. Thanks to Keiichiro Amemiya
@@ -218,7 +225,9 @@
- Initial release.
[@typescript-eslint/eslint-plugin]: https://github.com/typescript-eslint/typescript-eslint
+[@typescript-eslint/func-call-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/func-call-spacing.md
[@typescript-eslint/no-extra-parens]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md
+[@typescript-eslint/semi]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/semi.md
[ESLint 4.0.0]: https://eslint.org/blog/2017/06/eslint-v4.0.0-released
[ESLint 4.6.0]: https://eslint.org/blog/2017/09/eslint-v4.6.0-released
[array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline
@@ -262,5 +271,9 @@
[semi-style]: https://eslint.org/docs/rules/semi-style
[switch-colon-spacing]: https://eslint.org/docs/rules/switch-colon-spacing
[template-tag-spacing]: https://eslint.org/docs/rules/template-tag-spacing
+[vue/arrow-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/arrow-spacing.md
+[vue/block-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/block-spacing.md
+[vue/brace-style]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/brace-style.md
+[vue/comma-dangle]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/comma-dangle.md
[vue/html-self-closing-special]: https://github.com/prettier/eslint-config-prettier/blob/d5e7af986221df5faedc12893d8dc3150a808693/README.md#vuehtml-self-closing
[vue/html-self-closing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md

package.json

@@ -1,6 +1,6 @@
{
"name": "eslint-config-prettier",
- "version": "4.2.0",
+ "version": "4.3.0",
"license": "MIT",
"author": "Simon Lydell",
"description": "Turns off all rules that are unnecessary or might conflict with Prettier.",
@@ -38,22 +38,22 @@
"get-stdin": "^6.0.0"
},
"devDependencies": {
- "@typescript-eslint/eslint-plugin": "1.7.0",
- "@typescript-eslint/parser": "1.7.0",
+ "@typescript-eslint/eslint-plugin": "1.9.0",
+ "@typescript-eslint/parser": "1.9.0",
"babel-eslint": "10.0.1",
"cross-spawn": "6.0.5",
"doctoc": "1.4.0",
"eslint": "5.16.0",
- "eslint-config-google": "0.12.0",
+ "eslint-config-google": "0.13.0",
"eslint-plugin-babel": "5.3.0",
- "eslint-plugin-flowtype": "3.6.1",
- "eslint-plugin-prettier": "3.0.1",
- "eslint-plugin-react": "7.12.4",
+ "eslint-plugin-flowtype": "3.9.0",
+ "eslint-plugin-prettier": "3.1.0",
+ "eslint-plugin-react": "7.13.0",
"eslint-plugin-standard": "4.0.0",
"eslint-plugin-unicorn": "8.0.2",
- "eslint-plugin-vue": "github:vuejs/eslint-plugin-vue#9c49dcc8ff792ec6798037bd6b7f4ac3d26fdf68",
- "jest": "24.7.1",
- "prettier": "1.17.0",
+ "eslint-plugin-vue": "5.2.2",
+ "jest": "24.8.0",
+ "prettier": "1.17.1",
"replace": "1.1.0",
"rimraf": "2.6.3",
"typescript": "3.4.5"

README.md

@@ -767,14 +767,14 @@
- ESLint 5.16.0
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
-- prettier 1.17.0
-- @typescript-eslint/eslint-plugin 1.7.0
+- prettier 1.17.1
+- @typescript-eslint/eslint-plugin 1.9.0
- eslint-plugin-babel 5.3.0
-- eslint-plugin-flowtype 3.6.1
-- eslint-plugin-react 7.12.4
+- eslint-plugin-flowtype 3.9.0
+- eslint-plugin-react 7.13.0
- eslint-plugin-standard 4.0.0
- eslint-plugin-unicorn 8.0.2
-- eslint-plugin-vue 5.1.0
+- eslint-plugin-vue 5.2.2
Have new rules been added since those versions? Have we missed any rules? Is
there a plugin you would like to see exclusions for? Open an issue or a pull

@typescript-eslint.js

@@ -2,9 +2,11 @@
module.exports = {
rules: {
+ "@typescript-eslint/func-call-spacing": "off",
"@typescript-eslint/indent": "off",
"@typescript-eslint/member-delimiter-style": "off",
"@typescript-eslint/no-extra-parens": "off",
+ "@typescript-eslint/semi": "off",
"@typescript-eslint/type-annotation-spacing": "off"
}
};

vue.js

@@ -5,6 +5,10 @@
"vue/html-self-closing": 0,
"vue/array-bracket-spacing": "off",
+ "vue/arrow-spacing": "off",
+ "vue/block-spacing": "off",
+ "vue/brace-style": "off",
+ "vue/comma-dangle": "off",
"vue/html-closing-bracket-newline": "off",
"vue/html-closing-bracket-spacing": "off",
"vue/html-end-tags": "off",