diff --git a/README.md b/README.md index bdec6f1984..ad397700b2 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,24 @@ module.exports = { }; ``` +## gts/gjs + +lint files having `First-Class Component Templates` + +learn more [here](https://github.com/ember-template-imports/ember-template-imports) + +```js +// .eslintrc.js +module.exports = { + overrides: [ + { + files: ['**/*.gts', '**/*.gjs'], + parser: 'eslint-plugin-ember/gjs-gts-parser', + } + ], +}; +``` + ## 🧰 Configurations diff --git a/lib/config/recommended.js b/lib/config/recommended.js index e45976c2ef..c3b9227f0b 100644 --- a/lib/config/recommended.js +++ b/lib/config/recommended.js @@ -1,5 +1,4 @@ const rules = require('../recommended-rules'); -const util = require('ember-template-imports/src/util'); module.exports = { root: true, @@ -29,11 +28,9 @@ module.exports = { * on -- and isn't relevant to user-land code. */ { - files: ['**/*.gjs', '**/*.gts'], - processor: 'ember/