eslint-config-prettier 5.0.0 → 5.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### Version 5.1.0 (2019-06-25)
2
+
3
+ - Added: [react/jsx-curly-newline]. Thanks to Masafumi Koba (@ybiquitous)!
4
+
1
5
  ### Version 5.0.0 (2019-06-15)
2
6
 
3
7
  - Removed: [react/self-closing-comp]. This rule was added in v4.1.0 not
@@ -289,6 +293,7 @@
289
293
  [quotes]: https://eslint.org/docs/rules/quotes
290
294
  [react/jsx-child-element-spacing]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-child-element-spacing.md
291
295
  [react/jsx-closing-tag-location]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-tag-location.md
296
+ [react/jsx-curly-newline]: [react/jsx-curly-newline]
292
297
  [react/jsx-one-expression-per-line]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-one-expression-per-line.md
293
298
  [react/jsx-props-no-multi-spaces]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-multi-spaces.md
294
299
  [react/self-closing-comp]: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/self-closing-comp.md
package/README.md CHANGED
@@ -768,13 +768,13 @@ eslint-config-prettier has been tested with:
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
770
  - prettier 1.18.2
771
- - @typescript-eslint/eslint-plugin 1.10.2
771
+ - @typescript-eslint/eslint-plugin 1.11.0
772
772
  - eslint-plugin-babel 5.3.0
773
- - eslint-plugin-flowtype 3.10.3
774
- - eslint-plugin-react 7.13.0
773
+ - eslint-plugin-flowtype 3.11.1
774
+ - eslint-plugin-react 7.14.2
775
775
  - eslint-plugin-standard 4.0.0
776
- - eslint-plugin-unicorn 9.1.0
777
- - eslint-plugin-vue 5.2.2
776
+ - eslint-plugin-unicorn 9.1.1
777
+ - eslint-plugin-vue 5.2.3
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": "5.0.0",
3
+ "version": "5.1.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,20 +38,20 @@
38
38
  "get-stdin": "^6.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@typescript-eslint/eslint-plugin": "1.10.2",
42
- "@typescript-eslint/parser": "1.10.2",
43
- "babel-eslint": "10.0.1",
41
+ "@typescript-eslint/eslint-plugin": "1.11.0",
42
+ "@typescript-eslint/parser": "1.11.0",
43
+ "babel-eslint": "10.0.2",
44
44
  "cross-spawn": "6.0.5",
45
45
  "doctoc": "1.4.0",
46
46
  "eslint": "5.16.0",
47
47
  "eslint-config-google": "0.13.0",
48
48
  "eslint-plugin-babel": "5.3.0",
49
- "eslint-plugin-flowtype": "3.10.3",
49
+ "eslint-plugin-flowtype": "3.11.1",
50
50
  "eslint-plugin-prettier": "3.1.0",
51
- "eslint-plugin-react": "7.13.0",
51
+ "eslint-plugin-react": "7.14.2",
52
52
  "eslint-plugin-standard": "4.0.0",
53
- "eslint-plugin-unicorn": "9.1.0",
54
- "eslint-plugin-vue": "5.2.2",
53
+ "eslint-plugin-unicorn": "9.1.1",
54
+ "eslint-plugin-vue": "5.2.3",
55
55
  "jest": "24.8.0",
56
56
  "prettier": "1.18.2",
57
57
  "replace": "1.1.0",
package/react.js CHANGED
@@ -5,6 +5,7 @@ module.exports = {
5
5
  "react/jsx-child-element-spacing": "off",
6
6
  "react/jsx-closing-bracket-location": "off",
7
7
  "react/jsx-closing-tag-location": "off",
8
+ "react/jsx-curly-newline": "off",
8
9
  "react/jsx-curly-spacing": "off",
9
10
  "react/jsx-equals-spacing": "off",
10
11
  "react/jsx-first-prop-new-line": "off",