Skip to content
This repository was archived by the owner on Dec 4, 2022. It is now read-only.

Commit ea5e472

Browse files
authored
refactor(core): add ignore patterns for max-line-length (#45)
Closes #32
1 parent b2a2443 commit ea5e472

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,10 @@ blocks.
661661
```json
662662
"max-line-length": [
663663
true,
664-
140
664+
{
665+
"limit": 140,
666+
"ignore-pattern": "^import |^export {(.*?)}|class [a-zA-Z]+ implements |// "
667+
}
665668
]
666669
```
667670

tslint.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@
182182
],
183183
"max-line-length": [
184184
true,
185-
140
185+
{
186+
"limit": 140,
187+
"ignore-pattern": "^import |^export {(.*?)}|class [a-zA-Z]+ implements |// "
188+
}
186189
],
187190
"indent": [
188191
true,

0 commit comments

Comments
 (0)