mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1606787 - Exclude CSS files from Prettier configuration r=vporof
It seems that the recommended Prettier extension for VSCode automatically formats CSS. I guess this is also true for any editor extension that formats on save. However ./mach lint is not checking CSS formatting issues, and we have not auto-formatted CSS files in the tree. This can lead to unexpected formatting changes for developers using VSCode. Differential Revision: https://phabricator.services.mozilla.com/D58593 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
b111b012e8
commit
ec780daa43
@ -7,6 +7,11 @@
|
||||
*.xul
|
||||
*.xml
|
||||
|
||||
# CSS files have not been formatted and are not check by ./mach lint
|
||||
# Disable prettier on CSS files to avoid unexpected formatting changes.
|
||||
# Bug 1606785, Bug 1606787
|
||||
*.css
|
||||
|
||||
# Ignore default pref files which have a .js suffix but aren't parsed normally as JavaScript.
|
||||
browser/app/profile/channel-prefs.js
|
||||
browser/app/profile/firefox.js
|
||||
|
Loading…
Reference in New Issue
Block a user