Skip to content

Commit

Permalink
Support GJS and GTS (#627)
Browse files Browse the repository at this point in the history
* Support GJS and GTS

* Lint

* Bump prettier

* Re-roll lockfile

* Upgrade eslint-plugin-ember to 12.1.0
  • Loading branch information
NullVoxPopuli committed May 14, 2024
1 parent dbfdc32 commit 59b654e
Show file tree
Hide file tree
Showing 8 changed files with 897 additions and 1,422 deletions.
5 changes: 5 additions & 0 deletions configs/ember.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ module.exports = (options = {}) => {
forFiles('tests/**/*-test.{gts,ts}', config.modules.tests.ts),
forFiles('type-tests/**/*.ts', config.modules.browser.declarations),

// ----------------------
// GJS/GTS files, requires that the ember plugin be present
forFiles('**/*.gts', { parser: 'ember-eslint-parser' }),
forFiles('**/*.gjs', { parser: 'ember-eslint-parser' }),

// ----------------------
// Config files, usually
forFiles(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@typescript-eslint/parser": "7.9.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ember": "11.12.0",
"eslint-plugin-ember": "12.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-qunit": "8.1.1",
"prettier": "3.2.5",
Expand Down

0 comments on commit 59b654e

Please sign in to comment.