diff --git a/eslint.config.mjs b/eslint.config.mjs index 6bef4b294..722e0ce2a 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -4,6 +4,9 @@ import jsdoc from './dist/index.js'; // import canonicalJsdoc from 'eslint-config-canonical/jsdoc.js'; const common = { + linterOptions: { + reportUnusedDisableDirectives: 'off' + }, plugins: { jsdoc } diff --git a/package.json b/package.json index a5478b3c8..47587860f 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "create-options": "node ./src/bin/generateOptions.mjs", "install-offline": "pnpm install --prefer-offline --no-audit", "lint": "npm run lint-arg -- .", - "lint-arg": "eslint --report-unused-disable-directives-severity=off", + "lint-arg": "eslint", "lint-fix": "npm run lint-arg -- --fix .", "prepare": "husky install", "test-no-cov": "cross-env BABEL_ENV=test mocha",