]> git.openstreetmap.org Git - rails.git/blobdiff - .erb-lint.yml
Fix text direction for traditional chinese
[rails.git] / .erb-lint.yml
index 3cca0301cf8317bf42c610eae2aaef6b17390c88..812a6f5382dc71b6a949aa1e7e45d87851674544 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:
@@ -25,7 +24,9 @@ linters:
         Enabled: false
       Rails/OutputSafety:
         Enabled: false
-      Layout/LeadingBlankLines:
-        Enabled: false # TODO
+  SelfClosingTag:
+    enabled: false
+  SpaceInHtmlTag:
+    enabled: true
 exclude:
   - '**/vendor/**'