forked from mirrors/gecko-dev
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
1 changed files with 5 additions and 0 deletions
|
|
@ -7,6 +7,11 @@
|
||||||
*.xul
|
*.xul
|
||||||
*.xml
|
*.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.
|
# 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/channel-prefs.js
|
||||||
browser/app/profile/firefox.js
|
browser/app/profile/firefox.js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue