diff --git a/rules/imports.js b/rules/imports.js index c830b2e0..00d98d83 100644 --- a/rules/imports.js +++ b/rules/imports.js @@ -82,9 +82,9 @@ module.exports = { 'spec/**', // mocha, rspec-like pattern '**/__tests__/**', // jest pattern '**/__mocks__/**', // jest pattern - 'test.{js,jsx}', // repos with a single test file - 'test-*.{js,jsx}', // repos with multiple top-level test files - '**/*{.,_}{test,spec}.{js,jsx}', // tests where the extension or filename suffix denotes that it is a test + 'test.{js,jsx,ts,tsx}', // repos with a single test file + 'test-*.{js,jsx,ts,tsx}', // repos with multiple top-level test files + '**/*{.,_}{test,spec}.{js,jsx,ts,tsx}', // tests where the extension or filename suffix denotes that it is a test '**/jest.config.js', // jest config '**/jest.setup.js', // jest setup '**/vue.config.js', // vue-cli config