aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/default.json9
2 files changed, 10 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index de2aba2..ee03e01 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -196,7 +196,7 @@
- [ ] "no-undef"
- [ ] "no-undef-init"
- [ ] "no-undefined"
-- [ ] "no-underscore-dangle"
+- [X] "no-underscore-dangle"
- [ ] "no-unexpected-multiline"
- [ ] "no-unmodified-loop-condition"
- [ ] "no-unneeded-ternary"
diff --git a/src/rules/default.json b/src/rules/default.json
index 70a6913..16571dc 100644
--- a/src/rules/default.json
+++ b/src/rules/default.json
@@ -149,6 +149,15 @@
"no-ternary": [
"off"
],
+ "no-underscore-dangle": [
+ "error",
+ {
+ "allowAfterSuper": false,
+ "allowAfterThis": true,
+ "allowAfterThisConstructor": false,
+ "enforceInMethodNames": false
+ }
+ ],
"no-unused-vars": [
"error",
{