Linter error for JS (Svelte) - unused variable

Created on 1 August 2025, 11 days ago

Problem/Motivation

in 2.1.x right now, `yarn lint:svelte` produces the following error:

"web/modules/custom/project_browser/sveltejs/src/Project/ProjectIcon.svelte
4:19 warning 'drupalSettings' is assigned a value but never used no-unused-vars"

Steps to reproduce

Run the linter.

Proposed resolution

Remove the use of drupalSettings, or whatever other fix, as appropriate.

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇺🇸United States chrisfromredfin Portland, Maine

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024