eslint-config-prettier 6.6.0 → 6.10.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.
@@ -5,11 +5,14 @@ module.exports = {
5
5
  "@typescript-eslint/quotes": 0,
6
6
 
7
7
  "@typescript-eslint/brace-style": "off",
8
+ "@typescript-eslint/comma-spacing": "off",
8
9
  "@typescript-eslint/func-call-spacing": "off",
9
10
  "@typescript-eslint/indent": "off",
10
11
  "@typescript-eslint/member-delimiter-style": "off",
11
12
  "@typescript-eslint/no-extra-parens": "off",
13
+ "@typescript-eslint/no-extra-semi": "off",
12
14
  "@typescript-eslint/semi": "off",
15
+ "@typescript-eslint/space-before-function-paren": "off",
13
16
  "@typescript-eslint/type-annotation-spacing": "off"
14
17
  }
15
18
  };
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ### Version 6.10.0 (2020-01-28)
2
+
3
+ - Added: [@typescript-eslint/comma-spacing]. Thanks to Thanks to Masafumi
4
+ Koba (@ybiquitous)!!
5
+
6
+ ### Version 6.9.0 (2019-12-27)
7
+
8
+ - Added: [vue/max-len]. Thanks to @xcatliu!
9
+
10
+ ### Version 6.8.0 (2019-12-25)
11
+
12
+ - Added: [@typescript-eslint/no-extra-semi]. Thanks to @xcatliu!
13
+
14
+ ### Version 6.7.0 (2019-11-19)
15
+
16
+ - Added: [@typescript-eslint/space-before-function-paren]. Thanks to Masafumi
17
+ Koba (@ybiquitous)!
18
+
1
19
  ### Version 6.6.0 (2019-11-17)
2
20
 
3
21
  - Added: New [eslint-plugin-vue] rules: [vue/dot-location] and
@@ -317,12 +335,15 @@
317
335
  - Initial release.
318
336
 
319
337
  [@typescript-eslint/brace-style]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/brace-style.md
338
+ [@typescript-eslint/comma-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/comma-spacing.md
320
339
  [@typescript-eslint/eslint-plugin]: https://github.com/typescript-eslint/typescript-eslint
321
340
  [@typescript-eslint/func-call-spacing]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/func-call-spacing.md
322
341
  [@typescript-eslint/no-extra-parens]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md
342
+ [@typescript-eslint/no-extra-semi]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md
323
343
  [@typescript-eslint/quotes-special]: https://github.com/prettier/eslint-config-prettier/blob/857257179fe69715362dfa9300762d6e534c0603/README.md#quotes
324
344
  [@typescript-eslint/quotes]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/quotes.md
325
345
  [@typescript-eslint/semi]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/semi.md
346
+ [@typescript-eslint/space-before-function-paren]: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/space-before-function-paren.md
326
347
  [array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline
327
348
  [array-element-newline]: https://eslint.org/docs/rules/array-element-newline
328
349
  [arrow-body-style]: https://eslint.org/docs/rules/arrow-body-style
@@ -380,3 +401,4 @@
380
401
  [vue/html-self-closing-special]: https://github.com/prettier/eslint-config-prettier/blob/d5e7af986221df5faedc12893d8dc3150a808693/README.md#vuehtml-self-closing
381
402
  [vue/html-self-closing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md
382
403
  [vue/keyword-spacing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/keyword-spacing.md
404
+ [vue/max-len]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/max-len.md
package/README.md CHANGED
@@ -353,6 +353,8 @@ Example ESLint configuration:
353
353
 
354
354
  ### [max-len]
355
355
 
356
+ (The following applies to [vue/max-len] as well.)
357
+
356
358
  **This rule requires special attention when writing code.**
357
359
 
358
360
  Usually, Prettier takes care of following a maximum line length automatically.
@@ -793,18 +795,18 @@ You can also supply a custom message if you want:
793
795
 
794
796
  eslint-config-prettier has been tested with:
795
797
 
796
- - ESLint 6.6.0
798
+ - ESLint 6.8.0
797
799
  - eslint-config-prettier 5.1.0 and older were tested with ESLint 5.x
798
800
  - eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
799
801
  - eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
800
802
  - prettier 1.19.1
801
- - @typescript-eslint/eslint-plugin 2.7.0
803
+ - @typescript-eslint/eslint-plugin 2.18.0
802
804
  - eslint-plugin-babel 5.3.0
803
- - eslint-plugin-flowtype 4.4.1
804
- - eslint-plugin-react 7.16.0
805
+ - eslint-plugin-flowtype 4.6.0
806
+ - eslint-plugin-react 7.18.0
805
807
  - eslint-plugin-standard 4.0.1
806
- - eslint-plugin-unicorn 13.0.0
807
- - eslint-plugin-vue 6.0.1
808
+ - eslint-plugin-unicorn 15.0.1
809
+ - eslint-plugin-vue 6.1.2
808
810
 
809
811
  Have new rules been added since those versions? Have we missed any rules? Is
810
812
  there a plugin you would like to see exclusions for? Open an issue or a pull
@@ -906,3 +908,4 @@ several other npm scripts:
906
908
  [travis-badge]: https://travis-ci.org/prettier/eslint-config-prettier.svg?branch=master
907
909
  [travis]: https://travis-ci.org/prettier/eslint-config-prettier
908
910
  [vue/html-self-closing]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/html-self-closing.md
911
+ [vue/max-len]: https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/max-len.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-prettier",
3
- "version": "6.6.0",
3
+ "version": "6.10.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.",
@@ -39,26 +39,26 @@
39
39
  "get-stdin": "^6.0.0"
40
40
  },
41
41
  "devDependencies": {
42
- "@typescript-eslint/eslint-plugin": "2.7.0",
43
- "@typescript-eslint/parser": "2.7.0",
42
+ "@typescript-eslint/eslint-plugin": "2.18.0",
43
+ "@typescript-eslint/parser": "2.18.0",
44
44
  "babel-eslint": "10.0.3",
45
45
  "cross-spawn": "6.0.5",
46
46
  "doctoc": "1.4.0",
47
- "eslint": "6.6.0",
47
+ "eslint": "6.8.0",
48
48
  "eslint-config-google": "0.14.0",
49
49
  "eslint-find-rules": "3.4.0",
50
50
  "eslint-plugin-babel": "5.3.0",
51
- "eslint-plugin-flowtype": "4.4.1",
52
- "eslint-plugin-prettier": "3.1.1",
53
- "eslint-plugin-react": "7.16.0",
51
+ "eslint-plugin-flowtype": "4.6.0",
52
+ "eslint-plugin-prettier": "3.1.2",
53
+ "eslint-plugin-react": "7.18.0",
54
54
  "eslint-plugin-standard": "4.0.1",
55
- "eslint-plugin-unicorn": "13.0.0",
56
- "eslint-plugin-vue": "6.0.1",
57
- "jest": "24.9.0",
55
+ "eslint-plugin-unicorn": "15.0.1",
56
+ "eslint-plugin-vue": "6.1.2",
57
+ "jest": "25.1.0",
58
58
  "prettier": "1.19.1",
59
- "replace": "1.1.1",
60
- "rimraf": "3.0.0",
61
- "typescript": "3.7.2"
59
+ "replace": "1.1.5",
60
+ "rimraf": "3.0.1",
61
+ "typescript": "3.7.5"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "eslint": ">=3.14.1"
package/vue.js CHANGED
@@ -3,6 +3,7 @@
3
3
  module.exports = {
4
4
  rules: {
5
5
  "vue/html-self-closing": 0,
6
+ "vue/max-len": 0,
6
7
 
7
8
  "vue/array-bracket-spacing": "off",
8
9
  "vue/arrow-spacing": "off",