Skip to content

Commit

Permalink
JSDocs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cox authored and Dan Cox committed Dec 17, 2024
1 parent d1cdde2 commit c196c26
Show file tree
Hide file tree
Showing 6 changed files with 266 additions and 87 deletions.
8 changes: 7 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import jest from "eslint-plugin-jest";
import jsdoc from 'eslint-plugin-jsdoc';

export default [
jsdoc.configs['flat/recommended'],
{
languageOptions: {
globals: {
Expand All @@ -12,7 +14,11 @@ export default [
}
},
plugins: {
jest: jest
jest: jest,
jsdoc: jsdoc
},
rules: {
'jsdoc/require-description': 'warn'
}
},
pluginJs.configs.recommended,
Expand Down
Loading

0 comments on commit c196c26

Please sign in to comment.