File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/eslint-plugin/rules/max-len Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff 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
209212var dep = require (' really/really/really/really/really/really/really/really/long/module' );
210213```
You can’t perform that action at this time.
0 commit comments