Skip to content

Commit 4431d68

Browse files
aladdin-addbtmills
authored andcommittedSep 15, 2017
Docs: fix wrong config in max-len example. (#9309)
* Docs: fix wrong config in max-len example. * Update max-len.md
1 parent 9d1df92 commit 4431d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/rules/max-len.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ var longRegExpLiteral = /this is a really really really really really long regul
144144

145145
### ignorePattern
146146

147-
Examples of **correct** code for this rule with the `{ "ignorePattern": true }` option:
147+
Examples of **correct** code for this rule with the `ignorePattern` option:
148148

149149
```js
150-
/*eslint max-len: ["error", { "ignorePattern": "^\\s*var\\s.+=\\s*require\\s*\\(/" }]*/
150+
/*eslint max-len: ["error", { "ignorePattern": "^\\s*var\\s.+=\\s*require\\s*\(" }]*/
151151

152152
var dep = require('really/really/really/really/really/really/really/really/long/module');
153153
```

0 commit comments

Comments
 (0)
Please sign in to comment.