diff --git a/eslint.config.mjs b/eslint.config.mjs index f1cdfc662..6bef4b294 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -4,9 +4,6 @@ import jsdoc from './dist/index.js'; // import canonicalJsdoc from 'eslint-config-canonical/jsdoc.js'; const common = { - linterOptions: { - reportUnusedDisableDirectives: 0 - }, plugins: { jsdoc } @@ -15,6 +12,10 @@ const common = { export default [ // canonical, // canonicalJsdoc, + { + // Must be by itself + ignores: ['dist/**/*.js', '.ignore/**/*.js'], + }, { ...common, files: ['.ncurc.js'], @@ -44,7 +45,6 @@ export default [ }, { ...common, - ignores: ['dist/**/*.js', '.ignore/**/*.js'], languageOptions: { globals: globals.node }, diff --git a/package.json b/package.json index 417a72c96..a5478b3c8 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=false", + "lint-arg": "eslint --report-unused-disable-directives-severity=off", "lint-fix": "npm run lint-arg -- --fix .", "prepare": "husky install", "test-no-cov": "cross-env BABEL_ENV=test mocha",