Skip to content

Commit f2866f9

Browse files
authored
docs: fix eslint error (#775)
1 parent c841bb6 commit f2866f9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/eslint-plugin/rules/max-len/README._js_.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Examples of **correct** code for this rule with the `{ "ignoreStrings": true }`
164164
```js
165165
/*eslint max-len: ["error", { "ignoreStrings": true }]*/
166166

167-
var longString = 'this is a really really really really really long string!';
167+
var longString = 'this is a really really really really really really really long string!';
168168
```
169169

170170
:::
@@ -204,7 +204,10 @@ Examples of **correct** code for this rule with the `ignorePattern` option:
204204
::: correct
205205

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

209212
var dep = require('really/really/really/really/really/really/really/really/long/module');
210213
```

0 commit comments

Comments
 (0)