@@ -189,15 +189,15 @@ module.exports = {
189189 // Forbid the use of extraneous packages
190190 'import/no-extraneous-dependencies' : [ 'error' , {
191191 devDependencies : [
192- // base list from airbnb config
192+ // base list from airbnb config + typescript extensions
193193 'test/**' , // tape, common npm pattern
194194 'tests/**' , // also common npm pattern
195195 'spec/**' , // mocha, rspec-like pattern
196196 '**/__tests__/**' , // jest pattern
197197 '**/__mocks__/**' , // jest pattern
198- 'test.{js,jsx}' , // repos with a single test file
199- 'test-*.{js,jsx}' , // repos with multiple top-level test files
200- '**/*{.,_}{test,spec}.{js,jsx}' , // tests where the extension or filename suffix denotes that it is a test
198+ 'test.{js,jsx,ts,tsx }' , // repos with a single test file
199+ 'test-*.{js,jsx,ts,tsx }' , // repos with multiple top-level test files
200+ '**/*{.,_}{test,spec}.{js,jsx,ts,tsx }' , // tests where the extension or filename suffix denotes that it is a test
201201 '**/jest.config.js' , // jest config
202202 '**/jest.setup.js' , // jest setup
203203 '**/vue.config.js' , // vue-cli config
0 commit comments