aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json14
2 files changed, 15 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 301de1f..02dc0ff 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -63,7 +63,7 @@
- [X] "lines-between-class-members"
- [ ] "max-classes-per-file"
- [ ] "max-depth"
-- [ ] "max-len"
+- [X] "max-len"
- [X] "max-lines"
- [ ] "max-lines-per-function"
- [ ] "max-nested-callbacks"
diff --git a/src/rules/default.json b/src/rules/default.json
index 016fd93..f0e2ab2 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -117,6 +117,20 @@
"exceptAfterSingleLine": false
}
],
+ "max-len": [
+ "warn",
+ {
+ "code": 180,
+ "comments": 72,
+ "ignoreComments": false,
+ "ignoreRegExpLiterals": false,
+ "ignoreStrings": true,
+ "ignoreTemplateLiterals": true,
+ "ignoreTrailingComments": false,
+ "ignoreUrls": true,
+ "tabWidth": 4
+ }
+ ],
"max-lines": [
"off"
],