We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 068609d + 0f6fc6c commit 19bceebCopy full SHA for 19bceeb
1 file changed
lib/preprocessors/noop.js
@@ -1,3 +1,12 @@
1
+/**
2
+ * this preprocessor validates if eslint if configured correctly so that gjs/gts are correctly processed by our parser
3
+ * this preprocessor is setup by our recommended rules for gjs/gts, so it will always be called for it
4
+ * the flow is the following:
5
+ * 1. gjs/gts files goes through our parses, which calls registerParsedFile, if its not correctly setup, registerParsedFile will not be called
6
+ * 2. postprocess checks if the file is registered and if not throws an error (only if parsing failed)
7
+ *
8
+ */
9
+
10
const parsedFiles = new Set();
11
12
module.exports = {
0 commit comments