Closed cspotcode closed 7 years ago
I think that the scheme should be and here: https://github.com/schemastore/schemastore/ 😃
@@ master #121 diff @@
====================================
Files 49 49
Lines 915 915
Methods 0 0
Messages 0 0
Branches 0 0
====================================
Hits 915 915
Misses 0 0
Partials 0 0
Powered by Codecov. Last update eb60b36...263c97c
The schema can be listed there, yes, but I think it should be generated here. Otherwise it won't be kept in sync with new rules and updated documentation.
schemastore.org can reference schemas that are hosted elsewhere. (for example)
🏓 to @benedfit @TimothyGu 😄
This PR adds a JSON schema for
pug-lintrc
files. The goal is to enable great code-completion and documentation within an editor or IDE. Here's an example of this in Visual Studio Code:This is using a version of VSCode's puglint extension that's been modified to declare this JSON schema should be used for
.pug-lint.json
files. It's a 4-line declaration inpackage.json
. After that, the schema and VSCode do all the work. Other editors probably support something similar.Let me know if you have any questions!