-
-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up ESLint for JSDoc comments (#1605)
* Set up ESLint * Fix violations
- Loading branch information
Kristján Oddsson
authored
Feb 19, 2024
1 parent
936c0ca
commit 8475d2a
Showing
36 changed files
with
1,753 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import jsdoc from "eslint-plugin-jsdoc"; | ||
|
||
export default [ | ||
jsdoc.configs["flat/recommended"], | ||
{ | ||
rules: { | ||
"jsdoc/require-param-description": "off", | ||
"jsdoc/require-returns-description": "off", | ||
"jsdoc/tag-lines": ["error", "any", { startLines: 1 }], | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.