tor-browser

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

.stylelintignore (4094B)


      1 # Please DO NOT add more third party files to this file.
      2 # They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
      3 #
      4 # Please also DO NOT add  generated files that are for some reason checked
      5 # into source - add them to tools/rewriting/Generated.txt instead.
      6 
      7 # This file should only be used for exclusions where we have:
      8 # - preprocessed files
      9 # - intentionally invalid files
     10 # - build directories and other items that we need to ignore
     11 
     12 # Always ignore node_modules.
     13 **/node_modules/
     14 
     15 # Always ignore crashtests - specially crafted files that originally caused a
     16 # crash.
     17 **/crashtest/
     18 **/crashtests/
     19 # Also ignore reftest - specially crafted to produce expected output.
     20 **/reftest/
     21 **/reftests/
     22 
     23 # Exclude expected objdirs.
     24 obj*/
     25 
     26 # These files are generated in some way.
     27 browser/components/aboutwelcome/**/*.css
     28 browser/components/asrouter/**/*.css
     29 browser/extensions/newtab/**/*.css
     30 
     31 # Note that the debugger has its own stylelint setup, but that currently
     32 # produces errors. Bug 1831302 tracks making this better
     33 devtools/client/debugger/src/components/PrimaryPanes/Outline.css
     34 devtools/client/debugger/src/components/PrimaryPanes/Sources.css
     35 devtools/client/debugger/src/components/shared/AccessibleImage.css
     36 devtools/client/debugger/src/utils/editor/source-editor.css
     37 devtools/client/debugger/test/mochitest/examples/
     38 
     39 # These get their sourcemap annotations autofixed, though they produce
     40 # no errors at all.
     41 devtools/client/inspector/rules/test/doc_sourcemaps.css
     42 
     43 # This is intended to simulate a css file generated from a scss file in order to
     44 # test sourcemaps.
     45 devtools/client/inspector/rules/test/doc_sourcemaps2.css
     46 
     47 # Some of these produce parse errors, some have sourcemaps modified.
     48 # They're tests, so let's just ignore all of them:
     49 devtools/client/inspector/computed/test/doc_sourcemaps.css
     50 devtools/client/inspector/rules/test/doc_copystyles.css
     51 devtools/client/inspector/rules/test/doc_invalid_sourcemap.css
     52 devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css
     53 devtools/client/webconsole/test/browser/*.css
     54 devtools/shared/commands/resource/tests/style_iframe.css
     55 devtools/shared/commands/resource/tests/style_document.css
     56 
     57 # Style editor tests check how it copes with invalid or "special" CSS,
     58 # so don't try to "fix" those.
     59 devtools/client/styleeditor/test/
     60 
     61 # These are empty or have funky charsets
     62 dom/base/test/bug466409-empty.css
     63 dom/encoding/test/file_utf16_be_bom.css
     64 dom/encoding/test/file_utf16_le_bom.css
     65 dom/security/test/cors/file_cors_logging_test.html.css
     66 dom/security/test/sri/test_bug_1271796.html
     67 dom/tests/mochitest/general/cssA.css
     68 dom/tests/mochitest/general/cssC.css
     69 
     70 # These are test-only and cause us to complain about font families or
     71 # similar, but we don't want to touch these tests at this point.
     72 dom/security/test/csp/file_CSP.css
     73 dom/security/test/sri/style2.css
     74 dom/xml/test/old/docbook.css
     75 dom/xml/test/old/toc/book.css
     76 dom/xml/test/old/toc/toc.css
     77 
     78 # Tests we don't want to modify at this point:
     79 layout/base/tests/stylesheet_change_events.css
     80 layout/inspector/tests/bug856317.css
     81 layout/inspector/tests/chrome/test_bug467669.css
     82 layout/inspector/tests/chrome/test_bug708874.css
     83 layout/style/test/gtest/example.css
     84 layout/style/test/mapped2.css
     85 layout/style/test/unstyled-frame.css
     86 
     87 # Bug 1893763
     88 mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
     89 # Three dashes at top of file (for Jekyll?) cause syntax error:
     90 mobile/android/android-components/docs/assets/main.scss
     91 
     92 # Empty test files:
     93 netwerk/test/mochitests/test1.css
     94 netwerk/test/mochitests/test2.css
     95 
     96 # Has substitution gunk in it:
     97 python/mozbuild/mozbuild/test/backend/data/build/foo.css
     98 
     99 # This is third-party in a way:
    100 toolkit/components/pdfjs/content/web/debugger.css
    101 toolkit/components/pdfjs/content/web/viewer.css
    102 toolkit/components/pdfjs/content/web/viewer-geckoview.css
    103 build/pgo/blueprint/**/*.css
    104 
    105 # Ignore web-platform tests as they are not necessarily
    106 # under our control or we don't want to modify at this point:
    107 testing/web-platform/mozilla/
    108 testing/web-platform/tests/