Releases: tjw-lint/eslint-config-tjw-jsdoc
Check Line Alignment
Features:
- Add
typedef
to thejsdoc/check-line-alignment
rule.
Diffs:
ESLint v9 support
Features:
- Updated config to be ESLint v9 compatible
- Updated docs around using this config
Diffs:
Improve formatting & README
- Changed formatting so it does not require an empty line after an
@example
if it is the end of the block. - Added example to README to demo the formatting enforcement.
Diffs:
Update Dependencies
Updated dependencies and update rules to match latest eslint-plugin-jsdocs
rules.
Diffs:
Format @callback tag
Added @callback
to list of tags to enforce formatting on. Updated deps.
Diffs:
Disable "check-examples"
Checking examples is not currently possible in ESLint 8 because the API used for it in ESLint 7 was deprecated, however work towards a new approach is in progress. Once this rule is fixed upstream we will re-enable it.
Also updated README slightly.
Diffs:
Disable "require-examples", Update deps
I turned off the requirement that all functions have an example of how to use them (jsdoc/require-example
). This is pretty tedious and not that beneficial in almost all cases. However, if you do want to supply an example usage, we still lint that if present.
Updated the deps.
Bumped the version.
Initial Release
All the rules that I set up for create-desktop-shortcuts
.