Skip to content

Commit

Permalink
Merge pull request #10 from NullVoxPopuli/add-the-noop-preprocessor-t…
Browse files Browse the repository at this point in the history
…o-exports

Add the noop preprocessor-to-exports
  • Loading branch information
patricklx authored Dec 21, 2023
2 parents 756f68b + cb8aede commit 84a9a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"license": "ISC",
"author": "",
"exports": {
".": "./src/parser/gjs-gts-parser.js"
".": "./src/parser/gjs-gts-parser.js",
"./noop": "./src/preprocessor/noop.js"
},
"main": "src/parser/gjs-gts-parser.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/preprocessor/noop.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
message: '',
};
msgs[0].message += '\n';
msgs[0].message +=
msgs[0].message +=
'To lint Gjs/Gts files please follow the setup guide at https://github.com/ember-cli/eslint-plugin-ember#gtsgjs';
}
parsedFiles.delete(fileName); // required for tests
Expand Down

0 comments on commit 84a9a77

Please sign in to comment.