Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check-values rejects any license value I tried #783

Closed
Antonius-S opened this issue Sep 7, 2021 · 5 comments
Closed

check-values rejects any license value I tried #783

Antonius-S opened this issue Sep 7, 2021 · 5 comments

Comments

@Antonius-S
Copy link

Antonius-S commented Sep 7, 2021

Expected behavior

No complaints at

 /**
 * @module test
 * @license MIT
 */
'use strict';

Actual behavior

Invalid JSDoc @license: "MIT "; expected SPDX expression: https://spdx.org/licenses/.

ESLint Config

// Format JS (or JSON) code here
"extends": [
        "eslint:recommended",
        "plugin:jsdoc/recommended"
    ],

ESLint sample

// Format JS code here
 /**
 * @module test
 * @license MIT
 */
'use strict';

Environment

  • Node version: v12.22.6
  • ESLint version v7.32.0
  • eslint-plugin-jsdoc version: 36.0.8

Only {"licensePattern":".*"} solved the issue

@brettz9
Copy link
Collaborator

brettz9 commented Sep 7, 2021

I'm not able to replicate. Are you on Windows?

@Antonius-S
Copy link
Author

Yes, Win7

@Antonius-S
Copy link
Author

That was a catch! Thanks!

@brettz9
Copy link
Collaborator

brettz9 commented Sep 7, 2021

Thanks for the clear report! A release should be in the pipeline shortly.

@gajus
Copy link
Owner

gajus commented Sep 7, 2021

🎉 This issue has been resolved in version 36.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants