Skip to content

Replace eslint-plugin-jam3 #74

@ben-polinsky

Description

@ben-polinsky

Aside from having a terrible package name, this library is quite outdated. We've run into an issue with its use of requireindex which also is quite outdated. I'm sure we can find some new rules (or god forbid catch these issues in PR) which do the same as:

  • forbid-methods: By default, this rule aims to limit the use of React un-prefixed deprecated lifecycle methods:
  • no-sanitizer-window-location: This rule aims to avoid Address DOM XSS attack. Using window.location improperly can cause javascript to trigger DOM based XSS attacks. Since window.location is readable and writable, it requires paying attention to what data is being assigned. Please find examples below as bad and best practices.
  • no-sanitizer-with-danger: This rule aims to prevent Cross-Site Scripting (XSS) attacks from hackers (using dangerousSetInnerHTML)

Metadata

Metadata

Assignees

No one assigned

    Labels

    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