Skip to content

Commit

Permalink
Docs: Fix typo in max-len ignorePattern example.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmartin1 committed Feb 7, 2018
1 parent d64fbb4 commit c95d372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/max-len.md
Expand Up @@ -147,7 +147,7 @@ var longRegExpLiteral = /this is a really really really really really long regul
Examples of **correct** code for this rule with the `ignorePattern` option:

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

var dep = require('really/really/really/really/really/really/really/really/long/module');
```
Expand Down

0 comments on commit c95d372

Please sign in to comment.