diff --git a/ROADMAP.md b/ROADMAP.md index 73ad9c8..19b0e54 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -189,7 +189,7 @@ - [ ] "no-sync" - [X] "no-tabs" - [ ] "no-template-curly-in-string" -- [ ] "no-ternary" +- [X] "no-ternary" - [ ] "no-this-before-super" - [ ] "no-throw-literal" - [ ] "no-trailing-spaces" diff --git a/src/rules/default.json b/src/rules/default.json index 8661d4d..f8b704d 100644 --- a/src/rules/default.json +++ b/src/rules/default.json @@ -135,6 +135,9 @@ "allowIndentationTabs": true } ], + "no-ternary": [ + "off" + ], "no-unused-vars": [ "error", {