Skip to content

Remove false positives #2

@evanplaice

Description

@evanplaice

The parser needs to be updated and tests need to be added to ensure that no false positives are included in the output.

Changes

  • patch the parser
  • add tests/fixtures covering all the use cases

Note: The tests should be added to jqkill.spec.js, fixtures should be named with the pattern false[n].js

False positives include

  • variables starting in $ (ex observables)
  • template literals
  • minified output1

1 Minifiers do a lot of weird stuff that may look like jQuery. Exclusion via the ignore option may be the only fix

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions