How does eclipse ignore the js file to report an error of the attached diagram


Method to ignore an error in a js file:

Project Properties > JavaScript > The Include Path > Source > Selected to Exclude > Click the edit button > Add the corresponding file in the Exclusion patterns below.

The screenshot below