eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

ESLint Rules validation only works after mouseover Code Actions option in Context Menu

Open
#701 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
201
Forks
76
Avg merge
4d 7h
Merged PRs (30d)
21

Description

Apparently, unless you move the mouse over the option Code Option in the Context-Menu ESLint ignores the rules set in the .eslintrc file.

Some context: ESLint most of the time ignores the rules I set in .eslintrc (see https://github.com/eclipse/wildwebdeveloper/issues/530) . But on some rare occasions and out of the blue it starts to validate these rules and I never understood what was firing this behaviour changing. Today I noticed that when I move the mouse over this option in the context menu ESLint immediately starts to work as expected.

Eclipse: 2021-06 (4.20.0)
WWD: Version 0.10.6.202102181620

eslint_issue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with an .eslintrc file in Eclipse, focusing on the Code Actions option in the context menu and the ESLint validation path. Done means configured ESLint rules are applied without moving the mouse over that option; the payload names no source files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
eslint
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.