We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c979b84 commit 1700e41Copy full SHA for 1700e41
lib/rules/prettier.js
@@ -44,8 +44,7 @@ module.exports = {
44
45
if (sourceCode.text !== desiredText) {
46
// Find the first character that differs
47
- const firstBadIndex = Array
48
- .from(desiredText)
+ const firstBadIndex = Array.from(desiredText)
49
.findIndex((char, index) => char !== sourceCode.text[index]);
50
const expectedChar = firstBadIndex === -1
51
? 'EOF'
package.json
@@ -35,7 +35,7 @@
35
"eslint-plugin-eslint-plugin": "^0.2.1",
36
"eslint-plugin-node": "^3.0.5",
37
"mocha": "^3.1.2",
38
- "prettier": "^0.13.1"
+ "prettier": "^0.18.0"
39
},
40
"engines": {
41
"node": ">=4.0.0"
0 commit comments