Explorar el Código

Convert lint "Typos" errors to warnings (#3811)

The typo database that lint uses may be incorrect, and it's unclear how to add or remove entries to it.
Nik Clayton hace 11 meses
padre
commit
c29a7dfe03
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      app/lint.xml

+ 4 - 0
app/lint.xml

@@ -36,6 +36,10 @@
     <!-- Ensure we are warned about errors in the baseline -->
     <!-- Ensure we are warned about errors in the baseline -->
     <issue id="LintBaseline" severity="warning" />
     <issue id="LintBaseline" severity="warning" />
 
 
+    <!-- Warn about typos. The typo database in lint is not exhaustive, and it's unclear
+         how to add to it when it's wrong. -->
+    <issue id="Typos" severity="warning" />
+
     <!-- Mark all other lint issues as errors -->
     <!-- Mark all other lint issues as errors -->
     <issue id="all" severity="error" />
     <issue id="all" severity="error" />
 </lint>
 </lint>