Backed out changeset 2d88daa2e4bc (bug 1899848) for conflicting with the backout...
[gecko.git] / .stylelintignore
blob26c9277994991aa48bbb998efd1551ec0c284d20
1 # Please DO NOT add more third party files to this file.
2 # They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
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.
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
12 # Always ignore node_modules.
13 **/node_modules/
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/
23 # Exclude expected objdirs.
24 obj*/
26 # These files are generated in some way.
27 browser/components/pocket/content/panels/css/main.compiled.css
28 browser/components/newtab/**/*.css
29 browser/components/aboutwelcome/**/*.css
30 browser/components/asrouter/**/*.css
32 # Note that the debugger has its own stylelint setup, but that currently
33 # produces errors. Bug 1831302 tracks making this better
34 devtools/client/debugger/src/components/PrimaryPanes/Outline.css
35 devtools/client/debugger/src/components/PrimaryPanes/Sources.css
36 devtools/client/debugger/src/components/shared/AccessibleImage.css
37 devtools/client/debugger/src/utils/editor/source-editor.css
38 devtools/client/debugger/test/mochitest/examples/
40 # These get their sourcemap annotations autofixed, though they produce
41 # no errors at all.
42 devtools/client/inspector/rules/test/doc_sourcemaps.css
44 # Some of these produce parse errors, some have sourcemaps modified.
45 # They're tests, so let's just ignore all of them:
46 devtools/client/inspector/computed/test/doc_sourcemaps.css
47 devtools/client/inspector/rules/test/doc_invalid_sourcemap.css
48 devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css
49 devtools/client/webconsole/test/browser/*.css
51 # Style editor tests check how it copes with invalid or "special" CSS,
52 # so don't try to "fix" those.
53 devtools/client/styleeditor/test/
55 # These are empty or have funky charsets
56 dom/base/test/bug466409-empty.css
57 dom/encoding/test/file_utf16_be_bom.css
58 dom/encoding/test/file_utf16_le_bom.css
59 dom/security/test/cors/file_cors_logging_test.html.css
60 dom/tests/mochitest/general/cssA.css
61 dom/tests/mochitest/general/cssC.css
63 # These are test-only and cause us to complain about font families or
64 # similar, but we don't want to touch these tests at this point.
65 dom/security/test/csp/file_CSP.css
66 dom/security/test/sri/style2.css
67 dom/xml/test/old/docbook.css
68 dom/xml/test/old/toc/book.css
69 dom/xml/test/old/toc/toc.css
71 # Tests we don't want to modify at this point:
72 layout/base/tests/stylesheet_change_events.css
73 layout/inspector/tests/bug856317.css
74 layout/inspector/tests/chrome/test_bug467669.css
75 layout/inspector/tests/chrome/test_bug708874.css
76 layout/style/test/gtest/example.css
77 layout/style/test/mapped2.css
78 layout/style/test/unstyled-frame.css
80 # Bug 1893763
81 mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css
82 # Three dashes at top of file (for Jekyll?) cause syntax error:
83 mobile/android/android-components/docs/assets/main.scss
85 # Empty test files:
86 netwerk/test/mochitests/test1.css
87 netwerk/test/mochitests/test2.css
89 # Has substitution gunk in it:
90 python/mozbuild/mozbuild/test/backend/data/build/foo.css
92 # This is third-party in a way:
93 toolkit/components/pdfjs/content/web/debugger.css
94 toolkit/components/pdfjs/content/web/viewer.css
95 toolkit/components/pdfjs/content/web/viewer-geckoview.css
97 # Ignore web-platform tests as they are not necessarily under our control.
98 testing/web-platform/tests/