.yamllint
author Magnus Melin <mkmelin+mozilla@iki.fi>
Wed, 01 Jul 2020 16:15:43 +0300
changeset 39007 1aa86015cd87b30709412551835bf902025cd7d1
parent 34790 8d9eeaf48a3015150a83d5f6e3ce5087e63d2879
permissions -rw-r--r--
Bug 1648802 - Replace Thunderbird uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals.. r=sg compare https://phabricator.services.mozilla.com/D80861#change-Yu2oZ2Beo1MA # NS_LITERAL_CSTRING("foo") -> "foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\("([^\)]+)"\)/"\1"_ns/g' {} \; # NS_LITERAL_STRING("foo") -> u"foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\("([^\)]+)"\)/u"\1"_ns/g' {} \; + manual replacements at least in mailnews/imap/src/nsImapService.cpp mailnews/local/src/nsPop3Sink.cpp mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp mailnews/base/test/TestMsgStripRE.cpp mailnews/base/util/nsMsgIncomingServer.cpp mailnews/base/util/nsMsgDBFolder.cpp mailnews/mime/src/mimemult.cpp mailnews/mime/src/mimethtm.cpp mailnews/compose/src/nsMsgCompose.cpp mailnews/import/text/src/nsTextImport.cpp mailnews/import/outlook/src/nsOutlookMail.cpp mailnews/import/winlivemail/nsWMUtils.cpp mailnews/import/becky/src/nsBeckyUtils.cpp mailnews/extensions/smime/src/nsCertPicker.cpp calendar/base/backend/libical/calUtils.cpp suite/components/shell/nsWindowsShellService.cpp mail/components/search/nsMailWinSearchHelper.cpp + clang-format

---
extends: default

rules:
  document-end:
     present: false
  document-start:
     present: true
  indentation:
     spaces: 4
  # Checks currently failing
  line-length: disable