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

Commit

Permalink
refactor(core): add ignore patterns for max-line-length (#45)
Browse files Browse the repository at this point in the history
Closes #32
  • Loading branch information
fulls1z3 authored Jul 4, 2019
1 parent b2a2443 commit ea5e472
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,10 @@ blocks.
```json
"max-line-length": [
true,
140
{
"limit": 140,
"ignore-pattern": "^import |^export {(.*?)}|class [a-zA-Z]+ implements |// "
}
]
```

Expand Down
5 changes: 4 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@
],
"max-line-length": [
true,
140
{
"limit": 140,
"ignore-pattern": "^import |^export {(.*?)}|class [a-zA-Z]+ implements |// "
}
],
"indent": [
true,
Expand Down

0 comments on commit ea5e472

Please sign in to comment.