|
8 | 8 | !*.xhtml |
9 | 9 | !*.html |
10 | 10 | !*.ts |
| 11 | +!*.css |
11 | 12 |
|
12 | 13 | # Prettier currently fails to parse this. |
13 | 14 | toolkit/components/extensions/types/ext-tabs-base.d.ts |
@@ -42,6 +43,7 @@ dom/security/test/sri/script* |
42 | 43 | # Files that are intentionally broken for tests. |
43 | 44 | dom/base/test/file_bug687859-charset.js |
44 | 45 | dom/base/test/file_bug687859-inherit.js |
| 46 | +dom/security/test/sri/file_bug_1271796.css |
45 | 47 | parser/htmlparser/tests/mochitest/broken_xml.xhtml |
46 | 48 | parser/htmlparser/tests/mochitest/test_bug563322.xhtml |
47 | 49 |
|
@@ -1020,18 +1022,12 @@ browser/components/sessionstore/test/unit/data/sessionstore_invalid.js |
1020 | 1022 | # for documentation purposes (policies.json) but to be accessed by the |
1021 | 1023 | # code as a .sys.mjs (schema.sys.mjs) |
1022 | 1024 | browser/components/enterprisepolicies/schemas/schema.sys.mjs |
1023 | | -# generated or library files in pocket |
1024 | | -browser/components/pocket/content/panels/js/tmpl.js |
1025 | | -browser/components/pocket/content/panels/js/vendor.bundle.js |
1026 | | -browser/components/pocket/content/panels/js/main.bundle.js |
1027 | 1025 | # Include the Storybook config files. |
1028 | 1026 | !browser/components/storybook/.storybook/ |
1029 | 1027 | !browser/components/storybook/.storybook/*.js |
1030 | 1028 |
|
1031 | 1029 | # Ignore newtab files |
1032 | 1030 | browser/extensions/newtab/logs/ |
1033 | | -# JS file using the #include pre-processor macro, leading to syntax errors. |
1034 | | -browser/extensions/newtab/webext-glue/builtin-newtab.js |
1035 | 1031 |
|
1036 | 1032 | # Ignore about:welcome files |
1037 | 1033 | browser/components/aboutwelcome/logs/ |
@@ -1080,7 +1076,7 @@ devtools/server/tests/xpcshell/setBreakpoint* |
1080 | 1076 | devtools/server/tests/xpcshell/sourcemapped.js |
1081 | 1077 |
|
1082 | 1078 | # Ignore generated code from wasm-bindgen |
1083 | | -devtools/client/performance-new/shared/profiler_get_symbols.js |
| 1079 | +devtools/shared/performance-new/profiler_get_symbols.js |
1084 | 1080 |
|
1085 | 1081 | # Testing syntax error |
1086 | 1082 | devtools/client/aboutdebugging/test/browser/resources/bad-extensions/invalid-json/manifest.json |
@@ -1252,15 +1248,103 @@ browser/extensions/translations/extension/ |
1252 | 1248 | # "scaffolding" used by uniffi which isn't valid JS in its original form. |
1253 | 1249 | toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/ |
1254 | 1250 | toolkit/components/uniffi-bindgen-gecko-js/components/generated/* |
| 1251 | +toolkit/components/uniffi-bindgen-gecko-js/tests/generated/* |
| 1252 | + |
| 1253 | +############################################################################## |
| 1254 | +# The list below is copied from .stylelintignore. Prettier doesn't currently |
| 1255 | +# support multiple ignore files or dynamic ignore configurations. |
| 1256 | +# When this is implemented, we'll update the configuration below (bug 1825508) |
| 1257 | +############################################################################## |
| 1258 | + |
| 1259 | +# These files are generated in some way. |
| 1260 | +browser/components/aboutwelcome/**/*.css |
| 1261 | +browser/components/asrouter/**/*.css |
| 1262 | +browser/extensions/newtab/**/*.css |
| 1263 | + |
| 1264 | +# Note that the debugger has its own stylelint setup, but that currently |
| 1265 | +# produces errors. Bug 1831302 tracks making this better |
| 1266 | +devtools/client/debugger/src/components/PrimaryPanes/Outline.css |
| 1267 | +devtools/client/debugger/src/components/PrimaryPanes/Sources.css |
| 1268 | +devtools/client/debugger/src/components/shared/AccessibleImage.css |
| 1269 | +devtools/client/debugger/src/utils/editor/source-editor.css |
| 1270 | +devtools/client/debugger/test/mochitest/examples/ |
| 1271 | + |
| 1272 | +# These get their sourcemap annotations autofixed, though they produce |
| 1273 | +# no errors at all. |
| 1274 | +devtools/client/inspector/rules/test/doc_sourcemaps.css |
| 1275 | + |
| 1276 | +# This is intended to simulate a css file generated from a scss file in order to |
| 1277 | +# test sourcemaps. |
| 1278 | +devtools/client/inspector/rules/test/doc_sourcemaps2.css |
| 1279 | + |
| 1280 | +# Some of these produce parse errors, some have sourcemaps modified. |
| 1281 | +# They're tests, so let's just ignore all of them: |
| 1282 | +devtools/client/inspector/computed/test/doc_sourcemaps.css |
| 1283 | +devtools/client/inspector/rules/test/doc_copystyles.css |
| 1284 | +devtools/client/inspector/rules/test/doc_invalid_sourcemap.css |
| 1285 | +devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css |
| 1286 | +devtools/client/webconsole/test/browser/*.css |
| 1287 | +devtools/shared/commands/resource/tests/style_iframe.css |
| 1288 | +devtools/shared/commands/resource/tests/style_document.css |
| 1289 | + |
| 1290 | +# Style editor tests check how it copes with invalid or "special" CSS, |
| 1291 | +# so don't try to "fix" those. |
| 1292 | +devtools/client/styleeditor/test/**/*.css |
| 1293 | + |
| 1294 | +# These are empty or have funky charsets |
| 1295 | +dom/base/test/bug466409-empty.css |
| 1296 | +dom/encoding/test/file_utf16_be_bom.css |
| 1297 | +dom/encoding/test/file_utf16_le_bom.css |
| 1298 | +dom/security/test/cors/file_cors_logging_test.html.css |
| 1299 | +dom/security/test/sri/test_bug_1271796.html |
| 1300 | +dom/tests/mochitest/general/cssA.css |
| 1301 | +dom/tests/mochitest/general/cssC.css |
| 1302 | + |
| 1303 | +# These are test-only and cause us to complain about font families or |
| 1304 | +# similar, but we don't want to touch these tests at this point. |
| 1305 | +dom/security/test/sri/file_bug_1271796.css |
| 1306 | +dom/security/test/csp/file_CSP.css |
| 1307 | +dom/security/test/sri/style2.css |
| 1308 | +dom/xml/test/old/docbook.css |
| 1309 | +dom/xml/test/old/toc/book.css |
| 1310 | +dom/xml/test/old/toc/toc.css |
| 1311 | + |
| 1312 | +# Tests we don't want to modify at this point: |
| 1313 | +layout/base/tests/stylesheet_change_events.css |
| 1314 | +layout/inspector/tests/bug856317.css |
| 1315 | +layout/inspector/tests/chrome/test_bug467669.css |
| 1316 | +layout/inspector/tests/chrome/test_bug708874.css |
| 1317 | +layout/style/test/gtest/example.css |
| 1318 | +layout/style/test/mapped2.css |
| 1319 | +layout/style/test/unstyled-frame.css |
| 1320 | + |
| 1321 | +# Bug 1893763 |
| 1322 | +mobile/android/android-components/components/feature/readerview/src/main/assets/extensions/readerview/readerview.css |
| 1323 | +# Three dashes at top of file (for Jekyll?) cause syntax error: |
| 1324 | +mobile/android/android-components/docs/assets/main.scss |
| 1325 | + |
| 1326 | +# Empty test files: |
| 1327 | +netwerk/test/mochitests/test1.css |
| 1328 | +netwerk/test/mochitests/test2.css |
| 1329 | + |
| 1330 | +# Has substitution gunk in it: |
| 1331 | +python/mozbuild/mozbuild/test/backend/data/build/foo.css |
| 1332 | + |
| 1333 | +# This is third-party in a way: |
| 1334 | +toolkit/components/pdfjs/content/web/debugger.css |
| 1335 | +toolkit/components/pdfjs/content/web/viewer.css |
| 1336 | +toolkit/components/pdfjs/content/web/viewer-geckoview.css |
| 1337 | +build/pgo/blueprint/**/*.css |
| 1338 | + |
| 1339 | +# Ignore web-platform tests as they are not necessarily under our control. |
| 1340 | +testing/web-platform/tests/ |
1255 | 1341 |
|
1256 | 1342 | ############################################################################## |
1257 | 1343 | # The list below is copied from ThirdPartyPaths.txt. Prettier doesn't currently |
1258 | 1344 | # support multiple ignore files or dynamic ignore configurations. |
1259 | 1345 | # When this is implemented, we'll update the configuration below (bug 1825508) |
1260 | 1346 | ############################################################################## |
1261 | 1347 |
|
1262 | | -browser/components/pocket/content/panels/css/normalize.scss |
1263 | | -browser/components/pocket/content/panels/js/vendor/ |
1264 | 1348 | browser/components/storybook/node_modules/ |
1265 | 1349 | browser/components/topsites/content/tippytop/favicons/ |
1266 | 1350 | browser/components/topsites/content/tippytop/images/ |
@@ -1690,7 +1774,6 @@ mobile/locales/l10n-changesets.json |
1690 | 1774 | mobile/locales/l10n-onchange-changesets.json |
1691 | 1775 | node_modules/ |
1692 | 1776 | python/mozperftest/mozperftest/tests/data/ |
1693 | | -security/manager/tools/KnownRootHashes.json |
1694 | 1777 | security/manager/tools/PreloadedHPKPins.json |
1695 | 1778 | services/settings/dumps/ |
1696 | 1779 | toolkit/components/nimbus/schemas/ExperimentFeature.schema.json |
|
0 commit comments