-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Introducing license-report-config.json
#1716
Conversation
A few comments / questions: src/schemas/json/license-report-config.json
src/test/license-report-config/basic-license-report-config.json But anyway: thanks for entering this definition in this site. |
Perhaps, copy & paste issue, in both cases |
I've done the schema based on the ESLint schema, there the enum items are without the type definition, e.g.: "enum": [
"readonly", "writable", "off"
] It's just initial version, there is still an issue with auto-suggestion, I need to figure out how to do that. |
Firstly I need to figure out how to deploy the initial version of the schema, then we can adjust the schema itself and the tests as well. |
@BePo65, btw it looks like there is a typo in /*
escape fields containing delimiter character if output is csv
*/
escapeCsvFilelds: false, I've proposed a PR kessler/license-report#64 to address |
Of course I wanted to say that this is probably a copy and paste problem (and should say |
Fixed. |
Finally, all tests are passed! |
"default": "false", | ||
"description": "CSV output format: escape fields containing delimiter character", | ||
"type": "boolean" | ||
}, | ||
"only": { | ||
"default": "null", | ||
"description": "export deps. or deps/dev-/opt-/peer- deps. falsey -> output everything", | ||
"description": "export deps. or deps/dev-/opt-/peer- deps. falsy -> output everything", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just keep the original spelling as it seems to be acceptable too (I am no native speaker so my "wisdom" comes from mdn
@@ -75,14 +76,18 @@ | |||
"type": "array" | |||
}, | |||
"comment": { | |||
"description": "export deps. or deps/dev-/opt-/peer- deps. falsey -> output everything", | |||
"description": "export deps. or deps/dev-/opt-/peer- deps. falsy -> output everything", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just keep the original spelling as it seems to be acceptable too (I am no native speaker so my "wisdom" comes from mdn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rollbacked to falsey
.
@pubmikeb let me know when this is ready to merge |
It's ready! |
Thanks |
Thanks for merging the schema. @madskristensen, how can I get this schema on https://www.schemastore.org/json? |
@pubmikeb It is auto generated. It is already on the site. |
* master: (79 commits) adds hosted Portman schema (SchemaStore#1723) Fix identifier for lower_safe_namespace in the forms object of the .NET template files (template.json) schema (SchemaStore#1722) Introducing `license-report-config.json` (SchemaStore#1716) Fix filename for artifacthub-repo.yml (SchemaStore#1721) Add JSON schemas for Helm charts (SchemaStore#1718) Add JSON schema for artifacthub-repo.yml (SchemaStore#1720) Add JSON schema for .postcssrc (SchemaStore#1719) Add docker service for appveyor.json schema (SchemaStore#1717) add pull_request_template.md (SchemaStore#1714) remove grunt-http (SchemaStore#1712) F-Droid Data metadata: fix "fileMatch" (SchemaStore#1711) Adjusted description for `ecmaVersion` (SchemaStore#1710) iobroker io-package: bring back common.main and add common.restartSchedule (SchemaStore#1709) add outblocks schema (SchemaStore#1707) update AJV 8.6.0 -> 8.6.1 (SchemaStore#1708) Move some schema from tv4 validator to AJV validator (SchemaStore#1706) Add F-Droid Data metadata schema (SchemaStore#1704) Added support of "ecmaVersion" 'latest' (SchemaStore#1703) Update Semgrep rule schema (SchemaStore#1702) [tsconfig] Adds support up to TypeScript 4.4, adds watch options and build options (SchemaStore#1697) ...
In includes:
license-report-config.json
schemacatalog.json
update