Commit 9fa420b4 authored by David Suissa's avatar David Suissa Committed by Jakob P
Browse files

Issue #3463378: GitlabCI: Fix CSPELL validation errors

parent 8ff58cf2
Loading
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
# List of words excluded from cspell validation for the project Admin Toolbar.
# Mostly contains custom names: variables, modules, users, etc...

# Custom variable names, ids, keys or identifiers in paths or yaml files.
hoverintent
cssjs
rendercache
webprofiler

# Ignore certain string values used for tests.
amara
atticus
isla
maeve
posie
soren
zora
zuzu

# User names: contributors, maintainers, users (mostly in README.md files).
adriancid
Almaguer
AODB
bilel
bolbol
cherne
chupacabra
Dropteam
Drupiter
emerya
fethi
Jarraud
khalil
krout
Livello
matio
Musa
Risorsa
Romain
romainj
Roze
Taktak
Wilfrid
+0 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@ include:
# Uncomment the lines below if you want to override any of the variables. The following is just an example.
################
variables:
  SKIP_CSPELL: 1
  OPT_IN_TEST_PREVIOUS_MAJOR: 1
  OPT_IN_TEST_PREVIOUS_MINOR: 1
  OPT_IN_TEST_NEXT_MINOR: 1
+3 −3
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ class SearchLinks {
   * @param \Drupal\Core\Cache\CacheBackendInterface $toolbar_cache
   *   Cache backend instance to use.
   * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
   *   Config factory mservice.
   *   Config factory service.
   */
  public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, RouteProviderInterface $route_provider, CacheContextsManager $cache_context_manager, CacheBackendInterface $toolbar_cache, ConfigFactoryInterface $config_factory) {
    $this->entityTypeManager = $entity_type_manager;
@@ -127,11 +127,11 @@ class SearchLinks {
          ->loadMultiple($bundles_ids);
        foreach ($bundles as $machine_name => $bundle) {
          $cache_tags = Cache::mergeTags($cache_tags, $bundle->getEntityType()->getListCacheTags());
          $tparams = [
          $label_params = [
            '@entity_type' => $bundle->getEntityType()->getLabel(),
            '@bundle' => $bundle->label(),
          ];
          $label_base = $this->t('@entity_type > @bundle', $tparams);
          $label_base = $this->t('@entity_type > @bundle', $label_params);
          $params = [$content_entity_bundle => $machine_name];
          if ($this->routeExists('entity.' . $content_entity_bundle . '.overview_form')) {
            // Some bundles have an overview/list form that make a better root
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class AdminToolbarSearchTest extends AdminToolbarSearchTestBase {
    $assert_session->waitForElementVisible('css', $search_toolbar_item);
    $assert_session->waitForElementVisible('css', $search_tray);

    $this->assertSuggestionContains('perfor', 'admin/config/development/performance');
    $this->assertSuggestionContains('perform', 'admin/config/development/performance');
    $this->assertSuggestionContains('develop', 'admin/config/development/maintenance');
    $this->assertSuggestionContains('types', 'admin/structure/types');
  }
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  $(document).ready(function () {
    $('.toolbar-tray.toolbar-tray-horizontal .menu-item.menu-item--expanded').hover(function () {
      // At the current depth, we should delete all "hover-intent" classes.
      // Other wise we get unwanted behaviour where menu items are expanded while already in hovering other ones.
      // Other wise we get unwanted behavior where menu items are expanded while already in hovering other ones.
      $(this).parent().find('li').removeClass('hover-intent');
      $(this).addClass('hover-intent');
    },
Loading