tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

lint.allowlist (1308B)


      1 # File containing whiteslist for lint errors
      2 # Format is:
      3 # ERROR TYPE:file/name/pattern[:line number]
      4 # e.g.
      5 # TRAILING WHITESPACE:example/file.html:128
      6 # to allow trailing whitespace on example/file.html line 128
      7 
      8 ## Whitespace rules that we can't enforce yet ##
      9 
     10 TRAILING WHITESPACE:*.md
     11 TRAILING WHITESPACE:*.txt
     12 TRAILING WHITESPACE:*.frag
     13 TRAILING WHITESPACE:*.vert
     14 
     15 ## Accept executable permission ##
     16 
     17 UNNECESSARY EXECUTABLE PERMISSION:*.cgi
     18 UNNECESSARY EXECUTABLE PERMISSION:.git/*
     19 # Pylint doesn't seem to understand symlinks properly
     20 UNNECESSARY EXECUTABLE PERMISSION:specs/1.0
     21 UNNECESSARY EXECUTABLE PERMISSION:specs/2.0
     22 
     23 ## Ignore INDENT TABS ##
     24 
     25 INDENT TABS:*.frag
     26 INDENT TABS:*.vert
     27 #The original dEQP tests used tabs throughout.
     28 INDENT TABS:deqp/functional/gles3/*.js
     29 INDENT TABS:conformance-suites/2.0.0/deqp/functional/gles3/*.js
     30 
     31 ## Two files in the repository deliberately contain non-UTF-8 Unicode,
     32 ## which Python can't decode by default. Skip the content checks for
     33 ## them.
     34 
     35 INVALID UNICODE:conformance/glsl/misc/non-ascii-comments.vert.html
     36 INVALID UNICODE:conformance/glsl/misc/non-ascii.vert.html
     37 
     38 ## File types that should never be checked ##
     39 
     40 *:*.pdf
     41 *:*.jpg
     42 *:*.png
     43 *:*.gif
     44 *:*.pdf
     45 *:*.wav
     46 *:*.mp3
     47 *:*.m4a
     48 *:*.oga
     49 *:*.webm
     50 *:*.mp4
     51 *:*.m4v
     52 *:*.ttf
     53 *:*.woff
     54 *:*.eot
     55 *:*.sfd
     56 *:*.swf