Skip to content

Don't report unused disable directive

Latest
Compare
Choose a tag to compare
@Splines Splines released this 20 Feb 11:20
baa2035

What's Changed

This release doesn't change any code but adds a suggested linter options for users of this plugin, namely:

linterOptions: {
      // The "unused disable directive" is set to "warn" by default.
      // For the ERB plugin to work correctly, you must disable
      // this directive to avoid issues described here
      // https://github.com/eslint/eslint/discussions/18114
      // If you're using the CLI, you might also use the following flag:
      // --report-unused-disable-directives-severity=off
      reportUnusedDisableDirectives: "off",
},

also see the updated README here. The related discussion for this can be found here.

Full Changelog: v2.0.0...v2.0.1