Skip to content
Snippets Groups Projects
Commit 3eba4b3c authored by catch's avatar catch
Browse files

Issue #3226052 by longwave, alexpott: Update to cspell 5

parent b78a9333
No related branches found
No related tags found
No related merge requests found
Showing
with 241 additions and 246 deletions
......@@ -11,6 +11,7 @@
"lib/Drupal/Component/Transliteration/data/**",
"lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php",
"**/LICENSE.txt",
"../**/LICENSE.txt",
"modules/**/Migrate*Test.php",
"modules/color/preview.html",
"modules/color/tests/modules/color_test/themes/color_test_theme/color/preview.html",
......@@ -35,7 +36,8 @@
"^msgstr .*",
"!!binary .*",
"%[0-9][0-9A-F]",
"\\Wi18n"
"\\Wi18n",
"\\x{[0-9A-F]{4,5}}"
],
"dictionaries": ["drupal","companies", "fonts", "html", "php", "softwareTerms"],
"dictionaryDefinitions": [
......
a'foo
abcdefg
abcdefghijklmno
abcdefghijklmnopqrstuvwxyz
abempty
......@@ -10,7 +8,6 @@ accum
adamson
addedline
addtogroup
admin's
adminforms
adminlabel
aewesome
......@@ -33,9 +30,7 @@ alternatif
amet
amphibius
ampm
anded
andif
anding
annot
anonyme
anothermodule
......@@ -43,14 +38,12 @@ anotherwordenglish
anotherwordgerman
antilop
anyall
api's
apng
applix
archiver
archivers
arctor
argaven
arity's
arrakis
arrayx
arrowrefresh
......@@ -71,7 +64,6 @@ atomrendererfeed
atsign
attrval
attrvals
auth's
authless
authz
autocompletefocus
......@@ -109,7 +101,6 @@ autosubmit
autowire
autowired
autowiring
backend's
backlink
backlinks
backport
......@@ -136,6 +127,7 @@ bazinga
bazqux
bazs
beatle
bebebe
beforeclose
beforecreate
behat
......@@ -202,7 +194,6 @@ cachetag
cachetags
cafr
cagatio
callable's
callables
callout
camelcase
......@@ -224,7 +215,6 @@ cfield
chainable
chainedfast
changelist
checkbox's
checkboxified
checkboxifier
checkboxify
......@@ -235,7 +225,6 @@ chiens
childlist
chocolatiers
chromedriver
chroot'd
chtext
chumillas
chvotes
......@@ -245,20 +234,18 @@ cillum
circlesmall
cjds
ckeditor
claro's
classloader
classmap
classmaps
classname
classtype
classy's
cldr
clearfix
clearfix's
cleartype
clicksort
clicksorter
clist
cloner
closethick
closur
cnenzrgre
......@@ -272,13 +259,11 @@ colspans
columnschange
comida
commandline
commenter's
commenters
commontest
complote
compositionend
compositionstart
config's
configentity
configtranslation
configurability
......@@ -288,11 +273,9 @@ contaynz
contentblock
contententry
contentrendererentry
contextual's
contextuals
contrained
controlgroup
coord
corefake
coretest
corge
......@@ -306,8 +289,8 @@ crema
crossout
crudui
crypted
crème
cscript
csrf
csrftoken
cssidentifier
csslintrc
......@@ -324,9 +307,9 @@ customevent
customly
customrequest
cweagans
cádiz
dasharray
dashoffset
data's
databasefilename
databasename
datapoint
......@@ -349,7 +332,6 @@ dburl
ddev
deckard
deconstructor
dedupe
deduplicated
deduplicates
defalt
......@@ -359,7 +341,6 @@ delayable
deletable
deletedline
deletee
deleteing
deleter
delim
delsp
......@@ -395,10 +376,8 @@ devel
deviantart
dflt
diactoros
dialog's
dialogcreate
dialogsave
diff'd
diffchange
differring
discoverability
......@@ -417,8 +396,6 @@ dotenv
doubleclick
downcasting
doxygen
drag'n'drop
draggable
dragtable
dramallama
dramallamas
......@@ -432,7 +409,6 @@ drivertestpgsql
drivertext
dropbutton
dropbuttons
droping
dropzone
drup
drupalci
......@@ -462,7 +438,6 @@ easyrdf
ecmascript
editables
editdrupalimage
editorconfig
editunblock
eerste
egroe
......@@ -472,9 +447,7 @@ elbonia
elementspath
elems
elit
embed's
encapsed
encoding's
endapply
endautoescape
endcode
......@@ -523,7 +496,6 @@ fapi
farb
farbtastic
fatals
favicon
favicons
favourite
favstar
......@@ -558,7 +530,6 @@ filtertypes
findwith
firstcolumn
fixnull
flexbox
flickr
flipfit
floatingspace
......@@ -579,21 +550,17 @@ foomm
foos
formatless
formattable
formatter's
formvalidation
fouc
fourcol
fourthcolumn
fozzie
fqcn
francais
français
fraîche
freenode
frombracket
frontpage
fsdf
ftest
fudgy
fulldata
fulldate
......@@ -613,10 +580,7 @@ getlist
getmachine
getview
gids
gifs
giggabyte
gitattributes
gitignored
gloop
gnumeric
goldfinger
......@@ -633,7 +597,6 @@ groupby
groupname
groupnames
groupwise
guzzle's
guzzlehttp
gzipped
hande
......@@ -688,8 +651,6 @@ idconflict
idekey
idempotency
idempotently
identifier's
iframe's
iframes
iframeupload
ignoretag
......@@ -706,20 +667,16 @@ inputtypes
insidekeyword
inspectable
instaclick
install's
installable
instantiator
internal's
introspectable
invalidators
invalididentifier
invokable
iopt
ip's
isam
isdst
isinstallable
items's
itoa
itok
itunesentry
......@@ -740,7 +697,6 @@ johansson
johndoe
jours
jqueryui
json's
jsonapi
jsonlint
jssdk
......@@ -824,11 +780,9 @@ lowercased
lowlevel
lowline
lrdd
lspeak
lstitle
ltitle
ltlanguage
lugin
lundi
lzop
maailma
......@@ -897,7 +851,6 @@ moderatable
modernizr
modernizr's
modulenarrow
modules's
mojito
montag
monthnames
......@@ -912,7 +865,6 @@ msgctxt
msgid
msgstr
msword
mtas
mtimes
mucho
mulrev
......@@ -996,7 +948,6 @@ nonspacing
nonwordgerman
nonworditem
noquotes
normalizer's
noschema
nosniff
nostart
......@@ -1010,13 +961,11 @@ notsimpletest
nourriture
nowdoc
nplurals
nresponse
ntfs
nyan
nyancat
nyans
nœud
objectid
objectindex
oembed
officedocument
......@@ -1032,15 +981,11 @@ onoff
opendocument
openxmlformats
oplopend
opmls
optgroups
optimizable
optin
optionchecker
ored
org's
orgchart
oring
ossp
otsikko
outdata
......@@ -1073,11 +1018,8 @@ pathauto
pathnames
pcre
pcss
pdo's
pecl
percona
performant
perma
permissionless
persistable
phpass
......@@ -1101,7 +1043,6 @@ placeholdering
playsholdr
plid
pluggable
plugins's
pluralforms
plusthick
podcastentry
......@@ -1118,7 +1059,6 @@ postcondition
postcss
postfields
postfoo
postgres
postgresql
postorder
postprocess
......@@ -1177,7 +1117,6 @@ proxying
pseudotag
ptablenode
pterm
pulks
puzzlepiece
pvde
pwprompt
......@@ -1238,16 +1177,11 @@ reinstantiated
removeformat
renderable
renderables
renderer's
renderered
renormalize
reparenting
reparsed
replyto
require'd
rerender
rerendered
rerendering
resampling
resave
resaved
......@@ -1318,7 +1252,6 @@ secondcolumn
seld
selectbox
sendmail
serializer's
serviceform
sess
settingstray
......@@ -1372,7 +1305,6 @@ sourcedialog's
sourcedir
spacebar
spagna
spdx
specialchar
specialchars
spiffiness
......@@ -1455,13 +1387,10 @@ sulaco
sunz
sunzzzzzzz
supercede
sut's
svenska
svgs
svgz
svibanj
swcf
symfony's
symlinking
synchronizable
syrop
......@@ -1533,12 +1462,10 @@ testwithleadingslash
testwithnewline
testwithslashes
testwithtrailingslash
texample
textareas
textboxes
texte
textfield
textfield's
textfields
textfile
textformat
......@@ -1574,7 +1501,6 @@ titleslogan
tlds
tmpfs
tnid
todos
toepassen
toggleable
togglewrap
......@@ -1613,8 +1539,8 @@ typehinting
typehints
typemanager
tzid
tést
uberawesome
ui's
uicrud
uids
ulwa
......@@ -1708,17 +1634,14 @@ unversioned
unwrapper
upcasted
upcasting
updateing
updateprogress
updatetype
upload's
uploaders
uploadprogress
uppercased
upscaling
upsert
urandom
url's
urlalias
urldecoding
usecase
......@@ -1728,7 +1651,6 @@ userref
userreference
userspace
usuario
uuid's
vals
vampirize
varchar
......@@ -1744,7 +1666,6 @@ vfsstream
vibber
vids
viewmode
viewport's
viewports
viewsviewfiles
vivamus
......@@ -1777,8 +1698,6 @@ wellformedwebentry
wellformedwebrendererentry
whitespaces
whos
widget's
widt
widthx
wimoids
windir
......@@ -1794,13 +1713,11 @@ writeln
wrongparam
wsod
wwwrun
wysiwygs
xampl
xbap
xbeg
xbitmap
xfbml
xhr's
xjkm
xlen
xlgp
......@@ -1810,7 +1727,6 @@ xmlurl
xoxo
xpsdocument
xsiemax
xsses
xtmpl
xxgroup
xyabz
......@@ -1820,7 +1736,6 @@ yarr
ybeg
yearless
ylen
yml's
yokotsoko
yottabyte
yottabytes
......@@ -1829,7 +1744,6 @@ yourmodule
youtube
yowser
yygroup
yyyymm
zartan
zendframework
zettabyte
......@@ -1844,4 +1758,8 @@ zoomout
zwei
zxvf
zzgroup
åwesome
èxample
über
übersetzung
ȅchȏ
......@@ -46,6 +46,7 @@ function aggregator_help($route_name, RouteMatchInterface $route_match) {
case 'aggregator.admin_overview':
// Don't use placeholders for possibility to change URLs for translators.
$output = '<p>' . t('Many sites publish their headlines and posts in feeds, using a number of standardized XML-based formats. The aggregator supports <a href="http://en.wikipedia.org/wiki/Rss">RSS</a>, <a href="http://en.wikipedia.org/wiki/Resource_Description_Framework">RDF</a>, and <a href="http://en.wikipedia.org/wiki/Atom_%28standard%29">Atom</a>.') . '</p>';
// cspell:ignore addfeed
$output .= '<p>' . t('Current feeds are listed below, and <a href=":addfeed">new feeds may be added</a>. For each feed, the <em>latest items</em> block may be enabled at the <a href=":block">blocks administration page</a>.', [':addfeed' => Url::fromRoute('aggregator.feed_add')->toString(), ':block' => (\Drupal::moduleHandler()->moduleExists('block')) ? Url::fromRoute('block.admin_display')->toString() : '#']) . '</p>';
return $output;
......
......@@ -61,6 +61,7 @@ public function providerSource() {
],
[
'name' => 'color_custom_stylesheets',
// cspell:ignore beadedff
'value' => ['public:://color/custom-beadedff/colors.css'],
],
];
......
......@@ -102,6 +102,7 @@ public function testImageSource() {
$test_image = $test_images[0]->filename;
// Put a test image in the files directory with special filename.
// cspell:ignore tést fïle nàme
$special_filename = 'tést fïle nàme.png';
$special_image = rawurlencode($special_filename);
$special_uri = str_replace($test_images[0]->filename, $special_filename, $test_images[0]->uri);
......
......@@ -10,6 +10,8 @@
use Drupal\Tests\migrate\Unit\MigrateTestCase;
use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
// cspell:ignore baaa
/**
* Tests the sub_process process plugin.
*
......
......@@ -4,7 +4,7 @@
use Drupal\Tests\migrate\Kernel\MigrateSqlSourceTestBase;
// cspell:ignore whakamataku
// cspell:ignore whakamataku génial
/**
* Tests the variable source plugin.
......
......@@ -159,6 +159,7 @@ public function testSearchExcerptSimplified() {
// Test with accents and caps in a longer piece of text with the target
// near the end.
$text = str_repeat($lorem2, 20) . ' ' . $lorem1;
// cspell:ignore Lìbêró
$result = $this->doSearchExcerpt('Lìbêró', $text);
$this->assertStringContainsString('<strong>libero</strong>', $result, 'Search excerpt works with caps and accents in longer text');
......
......@@ -53,6 +53,7 @@ protected function setUp(): void {
* - The expected content of the JSONresponse.
*/
public function providerTestMachineNameController() {
// cspell:ignore äwesome
$valid_data = [
[['text' => 'Bob', 'langcode' => 'en'], '"Bob"'],
[['text' => 'Bob', 'langcode' => 'en', 'lowercase' => TRUE], '"bob"'],
......
......@@ -65,6 +65,7 @@ public function testUserSelectionByRole() {
$field_definition->setSetting('handler_settings', $handler_settings);
$field_definition->save();
// cspell:ignore aabb aabbb aabbbb aabbbb
$user1 = $this->createUser(['name' => 'aabb']);
$user1->addRole($this->role1->id());
$user1->save();
......
......@@ -9,6 +9,8 @@
use Drupal\views\Plugin\views\HandlerBase;
use Drupal\views\Views;
// cspell:ignore wõrd
/**
* Tests abstract handler definitions.
*
......
......@@ -26,7 +26,7 @@
"test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r @babel/register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
"prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\"",
"spellcheck": "cspell",
"spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
"spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
"spellcheck:core": "cspell \"**/*\" \".*\" \"../composer/**/*\" \"../composer.json\"",
"vendor-update": "node ./scripts/js/assets.js"
},
......@@ -42,7 +42,7 @@
"chokidar": "^3.3.1",
"chromedriver": "^87.0.0",
"cross-env": "^7.0.2",
"cspell": "^4.0.63",
"cspell": "^5.0.0",
"css.escape": "^1.5.1",
"dotenv-safe": "^8.2.0",
"es6-promise": "^4.2.8",
......
......@@ -166,7 +166,7 @@
fi
# Check all files for spelling in one go for better performance.
yarn run -s spellcheck -c $TOP_LEVEL/core/.cspell.json $ABS_FILES
yarn run -s spellcheck --no-must-find-files -c $TOP_LEVEL/core/.cspell.json $ABS_FILES
if [ "$?" -ne "0" ]; then
# If there are failures set the status to a number other than 0.
FINAL_STATUS=1
......
......@@ -68,6 +68,7 @@ public function providerTestValidAbsoluteData() {
'john%20doe:secret:foo@example.org/',
'example.org/~,$\'*;',
'caf%C3%A9.example.org',
// cspell:ignore FEDC
'[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html',
];
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment