Categories
React

eslint ignore multiple rules

To ignore multiple rules to a single line use the comma to seperate the rules like this:

const myConstant = (
  // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any
  entry: any
) => {
  // empty
};

This will ignore the use of the type any and the unused variable