]> git.openstreetmap.org Git - rails.git/blobdiff - .erb-lint.yml
Let all textareas only be vertically resized
[rails.git] / .erb-lint.yml
index bf591777da2700149f40aff618c7f0b3cc19ffb0..ca95fb0d7616981c119e9f118708fbed0f957fce 100644 (file)
@@ -1,9 +1,8 @@
 ---
 linters:
-  SelfClosingTag:
-    enabled: false
-  SpaceInHtmlTag:
-    enabled: false # TODO
+  AllowedScriptType:
+    enabled: true
+    disallow_inline_scripts: true
   Rubocop:
     enabled: true
     rubocop_config:
@@ -11,7 +10,7 @@ linters:
         - .rubocop.yml
       Layout/InitialIndentation:
         Enabled: false
-      Layout/TrailingBlankLines:
+      Layout/TrailingEmptyLines:
         Enabled: false
       Layout/TrailingWhitespace:
         Enabled: false
@@ -25,13 +24,9 @@ linters:
         Enabled: false
       Rails/OutputSafety:
         Enabled: false
-      Rails/DynamicFindBy:
-        Enabled: false # TODO
-      Layout/LeadingBlankLines:
-        Enabled: false # TODO
-      Rails/LinkToBlank:
-        Enabled: false # TODO
-      Style/ConditionalAssignment:
-        Enabled: false # TODO
+  SelfClosingTag:
+    enabled: false
+  SpaceInHtmlTag:
+    enabled: true
 exclude:
   - '**/vendor/**'