From 85143d7c6da0c562fbf0363d816281f05582a165 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Sat, 11 Jan 2025 12:52:44 -0800 Subject: [PATCH] stashing --- config/package.json | 2 +- tests/warp-drive__schema-record/eslint.config.mjs | 11 +++-------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/config/package.json b/config/package.json index 47b1e64493c..1f7331d956f 100644 --- a/config/package.json +++ b/config/package.json @@ -23,7 +23,7 @@ "eslint-plugin-qunit": "^8.1.2", "eslint-plugin-simple-import-sort": "^12.1.1", "rollup": "^4.17.2", - "typescript": "^5.4.5", + "typescript": "^5.7.2", "vite": "^5.2.11", "vite-plugin-dts": "^3.9.1" }, diff --git a/tests/warp-drive__schema-record/eslint.config.mjs b/tests/warp-drive__schema-record/eslint.config.mjs index 430924cd687..ef8296d3d56 100644 --- a/tests/warp-drive__schema-record/eslint.config.mjs +++ b/tests/warp-drive__schema-record/eslint.config.mjs @@ -2,7 +2,6 @@ import { globalIgnores } from '@warp-drive/internal-config/eslint/ignore.js'; import * as gts from '@warp-drive/internal-config/eslint/gts.js'; import * as node from '@warp-drive/internal-config/eslint/node.js'; -import * as typescript from '@warp-drive/internal-config/eslint/typescript.js'; import * as qunit from '@warp-drive/internal-config/eslint/qunit.js'; /** @type {import('eslint').Linter.FlatConfig[]} */ @@ -10,15 +9,10 @@ export default [ // all ================ globalIgnores(), - // browser (js/ts) ================ - typescript.browser({ - enableGlint: true, - srcDirs: ['app', 'tests'], - allowedImports: ['@ember/application', '@ember/object', '@ember/owner'], - }), - + // // browser (js/ts) ================ gts.browser({ srcDirs: ['app', 'tests'], + files: ['**/*.{gts,gjs,ts}'], allowedImports: ['@ember/application', '@ember/object', '@ember/owner'], }), @@ -30,6 +24,7 @@ export default [ // Test Support ================ qunit.ember({ + enableGlint: true, allowedImports: ['@ember/application', '@ember/object', '@ember/owner', '@glimmer/component'], }), ];